From 653638c68684ec035fd58bc2d0d91c9bf9aa2ab9 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 27 Jan 2006 15:26:59 +0000 Subject: Improved IP handling. Now uses in_addr to store client ip, not char[16]! Added global and local session limits All of this needs TESTING. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/xline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index ed16fc4c1..bfffd0d84 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -692,7 +692,7 @@ void apply_lines(const int What) } if ((What & APPLY_ZLINES) && (zlines.size() || pzlines.size())) { - if ((check = matches_zline(u->ip))) + if ((check = matches_zline((char*)inet_ntoa(u->ip4)))) { snprintf(reason,MAXBUF,"Z-Lined: %s",check); Goners->AddItem(u,reason); -- cgit v1.3.1-10-gc9f91