summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-23 16:59:56 -0500
committerAdam <Adam@anope.org>2010-12-23 16:59:56 -0500
commit12b0ff0593cc5f2c0f61ca575f9e0af8b0084994 (patch)
tree3edf1b1b9045e389ba0e957589c1017a22deeba5 /src/core
parent13688c595bd11c3a4a093bc82a7d5f2733640abb (diff)
Bug #1079 - Prevent /cs ban, akick, unban, etc, from matching against users real hostname and IPs in an attempt to prevent unauthorized users from gaining other users IPs via brute force attacks.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/cs_ban.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_ban.c b/src/core/cs_ban.c
index 6f5f45095..e293a5591 100644
--- a/src/core/cs_ban.c
+++ b/src/core/cs_ban.c
@@ -219,7 +219,7 @@ int do_unban(User * u)
} else if (!check_access(u, ci, CA_UNBAN)) {
notice_lang(s_ChanServ, u, PERMISSION_DENIED);
} else {
- common_unban(ci, u->nick);
+ common_unban_full(ci, u->nick, true);
notice_lang(s_ChanServ, u, CHAN_UNBANNED, chan);
}
return MOD_CONT;