diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 22:02:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 22:02:24 +0000 |
commit | 16abfa95be7d158930206be7bc06878076441392 (patch) | |
tree | 7fa1d261b6cb2cebffcf2c99a4651297184a5d65 | |
parent | 2bd16cd84fd6d534d837cab955a1e5c6d75edf38 (diff) |
Clean 'removed' bans too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4154 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modes/cmode_b.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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())) |