diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-15 02:57:50 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-15 02:57:50 +0000 |
commit | eef1d4d691e8b7c4c80763dcd1e0c97b11350be0 (patch) | |
tree | c23b2417b1b7402563abf410f4cbdbedf49d1425 /src/core/cs_set.c | |
parent | 29a074878d72f789f9a7eacb6b17e2e97b33fdd0 (diff) |
Merge branch 'anopeng-config' of http://git.inspircd.org/git/anope/ into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1449 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_set.c')
-rw-r--r-- | src/core/cs_set.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/cs_set.c b/src/core/cs_set.c index 43bf5d3e4..646e4313b 100644 --- a/src/core/cs_set.c +++ b/src/core/cs_set.c @@ -296,8 +296,7 @@ int do_set_founder(User * u, ChannelInfo * ci, char *param) } nc = na->nc; - if (nc->channelmax > 0 && nc->channelcount >= nc->channelmax - && !is_services_admin(u)) { + if (CSMaxReg && nc->channelcount >= CSMaxReg && !is_services_admin(u)) { notice_lang(s_ChanServ, u, CHAN_SET_FOUNDER_TOO_MANY_CHANS, param); return MOD_CONT; } |