diff options
author | Adam <Adam@anope.org> | 2011-03-07 19:54:51 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-07 19:54:51 -0500 |
commit | 8eb23e7d489239e8af79c2d6da587cd1c3a81b5d (patch) | |
tree | 04bf54ceb46a4b18345cf4e01d8aeb11ccd52c07 /src/actions.cpp | |
parent | 093b3d258e7b14d2aa057ca6113de034b5063efe (diff) |
Added support for extbans
Diffstat (limited to 'src/actions.cpp')
-rw-r--r-- | src/actions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.cpp b/src/actions.cpp index 2dcd948e7..4d4dd7d0c 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -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()); |