diff options
| author | Adam <Adam@anope.org> | 2013-08-11 16:04:10 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-08-11 16:04:10 -0400 |
| commit | 53d5b7c29ea2f0164b562549cef579fe2b276abf (patch) | |
| tree | 1a8ad0c934d27a17e304c7f7baa128390fbf0242 /modules/pseudoclients | |
| parent | 812cb04fde10414ba1b13c88bde78f86e6701a5d (diff) | |
Fix chanserv opersonly setting
Diffstat (limited to 'modules/pseudoclients')
| -rw-r--r-- | modules/pseudoclients/chanserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp index 7222c9b80..07d997aa4 100644 --- a/modules/pseudoclients/chanserv.cpp +++ b/modules/pseudoclients/chanserv.cpp @@ -116,7 +116,7 @@ class ChanServCore : public Module, public ChanServService EventReturn OnBotPrivmsg(User *u, BotInfo *bi, Anope::string &message) anope_override { - if (bi == ChanServ && Config->GetModule(this)->Get<bool>("operonly") && !u->HasMode("OPER")) + if (bi == ChanServ && Config->GetModule(this)->Get<bool>("opersonly") && !u->HasMode("OPER")) { u->SendMessage(bi, ACCESS_DENIED); return EVENT_STOP; |
