diff options
| author | Adam <Adam@anope.org> | 2013-08-27 02:56:54 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-08-27 02:56:54 -0400 |
| commit | fac880664c41f36a6f091e2b6e6321a51bc5070b (patch) | |
| tree | dd0c0bc4e5186db3c98e72ab81441c4b9d63d960 /modules | |
| parent | 7f890ce98dc2df28e2b7b43ef5bf0f2f27b97f15 (diff) | |
Make chanserv:require not default to r
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/pseudoclients/chanserv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp index 41f62525c..1f0653874 100644 --- a/modules/pseudoclients/chanserv.cpp +++ b/modules/pseudoclients/chanserv.cpp @@ -261,7 +261,7 @@ class ChanServCore : public Module, public ChanServService { if (c->ci) c->SetMode(c->ci->WhoSends(), "REGISTERED", "", false); - const Anope::string &require = Config->GetModule(this)->Get<const Anope::string>("require", "r"); + const Anope::string &require = Config->GetModule(this)->Get<const Anope::string>("require"); if (!require.empty()) { if (c->ci) @@ -281,7 +281,7 @@ class ChanServCore : public Module, public ChanServService EventReturn OnCanSet(User *u, const ChannelMode *cm) anope_override { if (Config->GetModule(this)->Get<const Anope::string>("nomlock").find(cm->mchar) != Anope::string::npos - || Config->GetModule(this)->Get<const Anope::string>("require", "r").find(cm->mchar) != Anope::string::npos) + || Config->GetModule(this)->Get<const Anope::string>("require").find(cm->mchar) != Anope::string::npos) return EVENT_STOP; return EVENT_CONTINUE; } |
