diff options
Diffstat (limited to 'modules/nickserv/ns_ajoin.cpp')
-rw-r--r-- | modules/nickserv/ns_ajoin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/nickserv/ns_ajoin.cpp b/modules/nickserv/ns_ajoin.cpp index 8643a2c1b..a169022b1 100644 --- a/modules/nickserv/ns_ajoin.cpp +++ b/modules/nickserv/ns_ajoin.cpp @@ -139,9 +139,9 @@ class CommandNSAJoin final if ((*channels)->at(i)->channel.equals_ci(chan)) break; - if ((*channels)->size() >= Config->GetModule(this->owner)->Get<unsigned>("ajoinmax")) + if ((*channels)->size() >= Config->GetModule(this->owner).Get<unsigned>("ajoinmax")) { - source.Reply(_("Sorry, the maximum of %d auto join entries has been reached."), Config->GetModule(this->owner)->Get<unsigned>("ajoinmax")); + source.Reply(_("Sorry, the maximum of %d auto join entries has been reached."), Config->GetModule(this->owner).Get<unsigned>("ajoinmax")); return; } else if (i != (*channels)->size()) |