diff options
author | Adam <Adam@anope.org> | 2010-12-13 16:36:36 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-13 16:36:36 -0500 |
commit | 49d3c97b677f319460146803004066dfd3d19089 (patch) | |
tree | e8408660141f958bdc9cfac8fbad4a67553e0a40 /src/dns.cpp | |
parent | 97467cb2c85832c10da11364e0517ed3c4453ddb (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 'src/dns.cpp')
-rw-r--r-- | src/dns.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index 5bdd2a4eb..b37a0bde6 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -559,7 +559,6 @@ void DNSManager::Tick(time_t now) for (std::multimap<Anope::string, DNSRecord *>::iterator it = this->cache.begin(), it_next; it != this->cache.end(); it = it_next) { - Anope::string host = it->first; DNSRecord *req = it->second; it_next = it; ++it_next; |