diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-10-22 00:25:05 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-10-22 00:25:05 +0200 |
commit | d9b075e182b029fd2e18c0edb28a693da9fb2118 (patch) | |
tree | 505c860976651d36bff20e20cf3d2fab7c7e5ea0 /src/modes | |
parent | cbb699a705d3f3d61fbb223d41e2a1c313c3609b (diff) |
Set the parameter of -b to the banmask actually removed
This is needed because of the case insensitive match
Diffstat (limited to 'src/modes')
-rw-r--r-- | src/modes/cmode_b.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp index 09df05100..e45f191f7 100644 --- a/src/modes/cmode_b.cpp +++ b/src/modes/cmode_b.cpp @@ -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; } |