From 0264072b537e3059f56ac98f9719efd80836adb6 Mon Sep 17 00:00:00 2001 From: Adam- Date: Wed, 11 Nov 2009 07:20:44 +0000 Subject: Made disabling chanserv levels *really* disable them so noone can use them (even founder), and have the ability to set it to 10000 for founders. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2641 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/cs_access.c b/src/core/cs_access.c index 83ea0f0f7..b8792bfca 100644 --- a/src/core/cs_access.c +++ b/src/core/cs_access.c @@ -202,7 +202,7 @@ class CommandCSAccess : public Command notice_lang(s_ChanServ, u, CHAN_ACCESS_NICKS_ONLY); return MOD_CONT; } - if (na->HasFlag(NS_FORBIDDEN)); + else if (na->HasFlag(NS_FORBIDDEN)) { notice_lang(s_ChanServ, u, NICK_X_FORBIDDEN, nick); return MOD_CONT; -- cgit