diff options
| author | Adam <Adam@anope.org> | 2010-09-09 23:43:11 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-09-09 23:43:11 -0400 |
| commit | 46813ccb8c6ab572b8a9ff0a39afb1d92dc4482b (patch) | |
| tree | 562da502a102230ce207bbe921fdc978ee71e20c /modules/core | |
| parent | fdd196e50b4616ac377bd0ee0ae5ce6c57b657ee (diff) | |
Added an asynchronous DNS system and m_dnsbl, which checks clients against DNS blacklists.
Rewrote internal handling of IPs, we now properly support users using IPv6.
Fixed a few problems with the UnrealIRCd protocol module.
Diffstat (limited to 'modules/core')
| -rw-r--r-- | modules/core/os_defcon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/os_defcon.cpp b/modules/core/os_defcon.cpp index 009d34dda..711046beb 100644 --- a/modules/core/os_defcon.cpp +++ b/modules/core/os_defcon.cpp @@ -274,7 +274,7 @@ class OSDefcon : public Module void OnUserConnect(User *u) { Session *session = findsession(u->host); - Exception *exception = find_hostip_exception(u->host, u->hostip); + Exception *exception = find_hostip_exception(u->host, u->ip.addr()); if (CheckDefCon(DEFCON_REDUCE_SESSION) && !exception) { |
