From 46813ccb8c6ab572b8a9ff0a39afb1d92dc4482b Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 9 Sep 2010 23:43:11 -0400 Subject: 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. --- modules/core/os_defcon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core') 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) { -- cgit