diff options
author | Adam <Adam@anope.org> | 2011-01-17 15:46:53 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-01-17 15:46:53 -0500 |
commit | 8975b52cc3087db9504de7ad6e707234cb158a36 (patch) | |
tree | d666c5abe448e5451edbd9c0993a46f28cbc6c04 /modules/core/cs_ban.cpp | |
parent | 7acbbbbf5b661fd2d7b42f3e3adaea949f68cbef (diff) |
Added ns_ajoin
Diffstat (limited to 'modules/core/cs_ban.cpp')
-rw-r--r-- | modules/core/cs_ban.cpp | 2 |
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); |