1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 12:23: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
-7
View File
@@ -25,7 +25,6 @@ IRCDVar myIrcd[] = {
0, /* Join 2 Message */
1, /* Chan SQlines */
1, /* Quit on Kill */
1, /* SVSMODE unban */
0, /* vidents */
1, /* svshold */
1, /* time stamp on mode */
@@ -103,12 +102,6 @@ class BahamutIRCdProto : public IRCDProto
send_cmd(Config->ServerName, "SVSHOLD %s 0", nick.c_str());
}
/* SVSMODE -b */
void SendBanDel(const Channel *c, const Anope::string &nick)
{
SendSVSModeChan(c, "-b", nick);
}
/* SVSMODE channel modes */
void SendSVSModeChan(const Channel *c, const Anope::string &mode, const Anope::string &nick)
{