diff options
author | Adam <Adam@anope.org> | 2014-12-10 02:09:51 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-12-10 02:09:51 -0500 |
commit | 50acad5ce451b44b469890fe46ce14c7ffd031ca (patch) | |
tree | 231101b9e475dacd58b4d03d1a69df9fe7a82f28 /modules/commands/ns_group.cpp | |
parent | 3e5a5e1c669f6027b897f7358d45f92e1552f746 (diff) |
Unconst these config Get<Anope::string> calls as it makes no sense
Diffstat (limited to 'modules/commands/ns_group.cpp')
-rw-r--r-- | modules/commands/ns_group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp index e3acf74f9..9a9b933f4 100644 --- a/modules/commands/ns_group.cpp +++ b/modules/commands/ns_group.cpp @@ -125,7 +125,7 @@ class CommandNSGroup : public Command } NickServ::Nick *target, *na = NickServ::FindNick(u->nick); - const Anope::string &guestnick = Config->GetModule("nickserv")->Get<const Anope::string>("guestnickprefix", "Guest"); + const Anope::string &guestnick = Config->GetModule("nickserv")->Get<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 = NickServ::FindNick(nick))) |