summaryrefslogtreecommitdiff
path: root/modules/core/cs_ban.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-01-17 15:46:53 -0500
committerAdam <Adam@anope.org>2011-01-17 15:46:53 -0500
commit8975b52cc3087db9504de7ad6e707234cb158a36 (patch)
treed666c5abe448e5451edbd9c0993a46f28cbc6c04 /modules/core/cs_ban.cpp
parent7acbbbbf5b661fd2d7b42f3e3adaea949f68cbef (diff)
Added ns_ajoin
Diffstat (limited to 'modules/core/cs_ban.cpp')
-rw-r--r--modules/core/cs_ban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/cs_ban.cpp b/modules/core/cs_ban.cpp
index dc56bb995..8ff5319fb 100644
--- a/modules/core/cs_ban.cpp
+++ b/modules/core/cs_ban.cpp
@@ -47,7 +47,7 @@ class CommandCSBan : public Command
* Dont ban/kick the user on channels where he is excepted
* to prevent services <-> server wars.
*/
- else if (ModeManager::FindChannelModeByName(CMODE_EXCEPT) && is_excepted(ci, u2))
+ else if (matches_list(ci->c, u2, CMODE_EXCEPT))
source.Reply(CHAN_EXCEPTED, u2->nick.c_str(), ci->name.c_str());
else if (u2->IsProtected())
source.Reply(ACCESS_DENIED);