summaryrefslogtreecommitdiff
path: root/modules/protocol/bahamut.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-13 16:36:36 -0500
committerAdam <Adam@anope.org>2010-12-13 16:36:36 -0500
commit49d3c97b677f319460146803004066dfd3d19089 (patch)
treee8408660141f958bdc9cfac8fbad4a67553e0a40 /modules/protocol/bahamut.cpp
parent97467cb2c85832c10da11364e0517ed3c4453ddb (diff)
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.
Diffstat (limited to 'modules/protocol/bahamut.cpp')
-rw-r--r--modules/protocol/bahamut.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp
index 0dc409b29..28939c7fb 100644
--- a/modules/protocol/bahamut.cpp
+++ b/modules/protocol/bahamut.cpp
@@ -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)
{