diff options
| author | Adam <Adam@anope.org> | 2013-05-05 21:05:43 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-05-05 21:05:43 -0400 |
| commit | 5b3f81ea78f7a8ab69ff94cbf2bbf07f5966682e (patch) | |
| tree | 3536557fea79ffd77bb5a885465e579eeeafb8ff /modules/pseudoclients/nickserv.cpp | |
| parent | 3e8752fe665c3cdf683f2b5fa271231fb3a624df (diff) | |
That doesn't work either, just don't use references.
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
Diffstat (limited to 'modules/pseudoclients/nickserv.cpp')
| -rw-r--r-- | modules/pseudoclients/nickserv.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/pseudoclients/nickserv.cpp b/modules/pseudoclients/nickserv.cpp index 1177f9327..e45ad6abf 100644 --- a/modules/pseudoclients/nickserv.cpp +++ b/modules/pseudoclients/nickserv.cpp @@ -209,7 +209,7 @@ class NickServCore : public Module void OnReload(Configuration::Conf *conf) anope_override { - const Anope::string &nsnick = conf->GetModule(this)->Get<const Anope::string &>("client"); + const Anope::string &nsnick = conf->GetModule(this)->Get<const Anope::string>("client"); if (nsnick.empty()) throw ConfigException(this->name + ": <client> must be defined"); @@ -220,7 +220,7 @@ class NickServCore : public Module NickServ = bi; - spacesepstream(conf->GetModule(this)->Get<const Anope::string &>("defaults", "secure memo_signon memo_receive")).GetTokens(defaults); + spacesepstream(conf->GetModule(this)->Get<const Anope::string>("defaults", "secure memo_signon memo_receive")).GetTokens(defaults); if (defaults.empty()) { defaults.push_back("SECURE"); @@ -287,7 +287,7 @@ class NickServCore : public Module c->SetCorrectModes(u, true, true); } - const Anope::string &modesonid = block->Get<const Anope::string &>("modesonid"); + const Anope::string &modesonid = block->Get<const Anope::string>("modesonid"); if (!modesonid.empty()) u->SetModes(NickServ, "%s", modesonid.c_str()); @@ -335,7 +335,7 @@ class NickServCore : public Module return; const NickAlias *na = NickAlias::Find(u->nick); - const Anope::string &unregistered_notice = Config->GetModule(this)->Get<const Anope::string &>("unregistered_notice"); + const Anope::string &unregistered_notice = Config->GetModule(this)->Get<const Anope::string>("unregistered_notice"); if (!Config->GetBlock("options")->Get<bool>("nonicknameownership") && !unregistered_notice.empty() && !na) u->SendMessage(NickServ, unregistered_notice); else if (na) |
