1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 23:06:40 +02:00

Fix chanserv opersonly setting

This commit is contained in:
Adam
2013-08-11 16:04:10 -04:00
parent 812cb04fde
commit 53d5b7c29e
+1 -1
View File
@@ -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;