summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-10-22 00:25:05 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-10-22 00:25:05 +0200
commitd9b075e182b029fd2e18c0edb28a693da9fb2118 (patch)
tree505c860976651d36bff20e20cf3d2fab7c7e5ea0
parentcbb699a705d3f3d61fbb223d41e2a1c313c3609b (diff)
Set the parameter of -b to the banmask actually removed
This is needed because of the case insensitive match
-rw-r--r--src/modes/cmode_b.cpp1
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;
}