From 9384a4f0880ef3ecbf7718256dd25e50f818b905 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 10 May 2013 11:22:53 -0400 Subject: Fix ChannelMode::CanSet --- modules/pseudoclients/chanserv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp index 9dc5abf0c..db5e16146 100644 --- a/modules/pseudoclients/chanserv.cpp +++ b/modules/pseudoclients/chanserv.cpp @@ -344,7 +344,7 @@ class ChanServCore : public Module EventReturn OnCanSet(User *u, const ChannelMode *cm) anope_override { if (Config->GetModule(this)->Get("nomlock").find(cm->mchar) != Anope::string::npos - || Config->GetModule(this)->Get("require", "r").find(cm->mchar) || Anope::string::npos) + || Config->GetModule(this)->Get("require", "r").find(cm->mchar) != Anope::string::npos) return EVENT_STOP; return EVENT_CONTINUE; } -- cgit