From 53d5b7c29ea2f0164b562549cef579fe2b276abf Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 11 Aug 2013 16:04:10 -0400 Subject: [PATCH] Fix chanserv opersonly setting --- modules/pseudoclients/chanserv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("operonly") && !u->HasMode("OPER")) + if (bi == ChanServ && Config->GetModule(this)->Get("opersonly") && !u->HasMode("OPER")) { u->SendMessage(bi, ACCESS_DENIED); return EVENT_STOP;