From 16abfa95be7d158930206be7bc06878076441392 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 7 Jul 2006 22:02:24 +0000 Subject: Clean 'removed' bans too git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4154 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_b.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp index 0fe26c83c..5d709d4b7 100644 --- a/src/modes/cmode_b.cpp +++ b/src/modes/cmode_b.cpp @@ -109,6 +109,9 @@ std::string& ModeChannelBan::DelBan(userrec *user,std::string& dest,chanrec *cha return dest; } + /* 'Clean' the mask, e.g. nick -> nick!*@* */ + ModeParser::CleanMask(dest); + for (BanList::iterator i = chan->bans.begin(); i != chan->bans.end(); i++) { if (!strcasecmp(i->data,dest.c_str())) -- cgit v1.2.3