]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Set the parameter of -b to the banmask actually removed
authorAttila Molnar <attilamolnar@hush.com>
Tue, 21 Oct 2014 22:25:05 +0000 (00:25 +0200)
committerAttila Molnar <attilamolnar@hush.com>
Tue, 21 Oct 2014 22:25:05 +0000 (00:25 +0200)
This is needed because of the case insensitive match

src/modes/cmode_b.cpp

index 09df0510071e207b9e12affe9619b9fef50f74b6..e45f191f78d330a1ce280b9ec93f6827dc6611c3 100644 (file)
@@ -168,6 +168,7 @@ std::string& ModeChannelBan::DelBan(User *user, std::string& dest, Channel *chan
                                dest.clear();
                                return dest;
                        }
+                       dest = i->data;
                        chan->bans.erase(i);
                        return dest;
                }