1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 07:46:40 +02:00

Added support for extbans

This commit is contained in:
Adam
2011-03-07 19:54:51 -05:00
parent 093b3d258e
commit 8eb23e7d48
21 changed files with 356 additions and 248 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ void common_unban(ChannelInfo *ci, User *u, bool full)
std::pair<Channel::ModeList::iterator, Channel::ModeList::iterator> bans = ci->c->GetModeList(CMODE_BAN);
for (; bans.first != bans.second;)
{
Entry ban(bans.first->second);
Entry ban(CMODE_BAN, bans.first->second);
++bans.first;
if (ban.Matches(u, full))
ci->c->RemoveMode(NULL, CMODE_BAN, ban.GetMask());