summaryrefslogtreecommitdiff
path: root/src/modules/cs_tban.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-13 21:26:38 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-13 21:26:38 +0000
commitd3d64c27b199622c90075d6f59dd08e44acbb378 (patch)
tree68029e10dc754271235e2a4e3d04b3fb19ddd15c /src/modules/cs_tban.c
parent1fd66851320e239b531720c27614a5ad4c604c97 (diff)
Complete rewrite of everything associated with modes, this breaks saving and reading mlocked modes from the databases until the new databases are implemented
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2560 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/cs_tban.c')
-rw-r--r--src/modules/cs_tban.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c
index 78b1b5fbf..e0ab66db4 100644
--- a/src/modules/cs_tban.c
+++ b/src/modules/cs_tban.c
@@ -214,9 +214,9 @@ int canBanUser(Channel * c, User * u, User * u2)
int ok = 0;
if (!check_access(u, ci, CA_BAN))
notice_lang(s_ChanServ, u, ACCESS_DENIED);
- else if (ircd->except && is_excepted(ci, u2))
+ else if (is_excepted(ci, u2))
notice_lang(s_ChanServ, u, CHAN_EXCEPTED, u2->nick, ci->name);
- else if (ircd->protectedumode && is_protected(u2))
+ else if (is_protected(u2))
notice_lang(s_ChanServ, u, ACCESS_DENIED);
else
ok = 1;