summaryrefslogtreecommitdiff
path: root/src/regchannel.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 /src/regchannel.cpp
parent7acbbbbf5b661fd2d7b42f3e3adaea949f68cbef (diff)
Added ns_ajoin
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 0d0f5dc54..16e90bebb 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -749,7 +749,7 @@ bool ChannelInfo::CheckKick(User *user)
do_kick = true;
}
- if (!do_kick && ModeManager::FindChannelModeByName(CMODE_EXCEPT) && is_excepted(this, user) == 1)
+ if (!do_kick && matches_list(this->c, user, CMODE_EXCEPT))
return false;
const NickCore *nc = user->Account() || user->IsRecognized() ? user->Account() : NULL;