1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 03:43:12 +02:00

Bug #1079 - Don't use users real host and IPs when matching against

bans and excepts, except when a user is unbanning themselves, in an
attempt to prevent people from gaining other users IPs.
This removes support for Unreal and Bahamuts SVSMode -b because
it will unban users by real host and IP.
This commit is contained in:
Adam
2010-12-13 16:36:36 -05:00
parent 97467cb2c8
commit 49d3c97b67
13 changed files with 36 additions and 50 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class CommandCSUnban : public Command
return MOD_CONT;
}
common_unban(ci, u2);
common_unban(ci, u2, u == u2);
if (u2 == u)
source.Reply(CHAN_UNBANNED, c->name.c_str());
else