diff options
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()); |