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/extra/cs_tban.cpp | |
parent | 7acbbbbf5b661fd2d7b42f3e3adaea949f68cbef (diff) |
Added ns_ajoin
Diffstat (limited to 'modules/extra/cs_tban.cpp')
-rw-r--r-- | modules/extra/cs_tban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/cs_tban.cpp b/modules/extra/cs_tban.cpp index e40e16bc7..35757ff1e 100644 --- a/modules/extra/cs_tban.cpp +++ b/modules/extra/cs_tban.cpp @@ -41,7 +41,7 @@ static bool CanBanUser(Channel *c, User *u, User *u2) bool ok = false; if (!check_access(u, ci, CA_BAN)) u->SendMessage(ChanServ, ACCESS_DENIED); - else if (is_excepted(ci, u2)) + else if (matches_list(c, u2, CMODE_EXCEPT)) u->SendMessage(ChanServ, CHAN_EXCEPTED, u2->nick.c_str(), ci->name.c_str()); else if (u2->IsProtected()) u->SendMessage(ChanServ, ACCESS_DENIED); |