diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2013-10-16 06:03:48 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2013-10-26 18:33:07 +0200 |
commit | 2cfc97053faba7582cd57701900de78ebacb12ce (patch) | |
tree | f72e04a159fb5a0e359aeebcf32e9f30a7b7c111 /modules/commands/ns_group.cpp | |
parent | 6cde65a57f60228d15a9d993a31ecf9bf624f592 (diff) |
moved some config options from example.conf to nickserv.example.conf
Diffstat (limited to 'modules/commands/ns_group.cpp')
-rw-r--r-- | modules/commands/ns_group.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp index 81daddf84..c40b5bf89 100644 --- a/modules/commands/ns_group.cpp +++ b/modules/commands/ns_group.cpp @@ -111,7 +111,7 @@ class CommandNSGroup : public Command } NickAlias *target, *na = NickAlias::Find(u->nick); - const Anope::string &guestnick = Config->GetBlock("options")->Get<const Anope::string>("guestnickprefix"); + const Anope::string &guestnick = Config->GetModule("nickserv")->Get<const Anope::string>("guestnickprefix", "Guest"); time_t reg_delay = Config->GetModule("nickserv")->Get<time_t>("regdelay"); unsigned maxaliases = Config->GetModule(this->owner)->Get<unsigned>("maxaliases"); if (!(target = NickAlias::Find(nick))) @@ -349,7 +349,7 @@ class NSGroup : public Module NSGroup(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), commandnsgroup(this), commandnsungroup(this), commandnsglist(this) { - if (Config->GetBlock("options")->Get<bool>("nonicknameownership")) + if (Config->GetModule("nickserv")->Get<bool>("nonicknameownership")) throw ModuleException(modname + " can not be used with options:nonicknameownership enabled"); } }; |