From 4488e477136ea3daa60a744bac272cc37a604136 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 1 Aug 2006 11:46:19 +0000 Subject: The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index a10842ab1..c762510e7 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -243,7 +243,7 @@ bool ip_matches_everyone(const std::string &ip, userrec* user) for (user_hash::iterator u = clientlist.begin(); u != clientlist.end(); u++) { - if (match((char*)inet_ntoa(u->second->ip4),ip.c_str())) + if (match(insp_ntoa(u->second->ip4),ip.c_str())) matches++; } -- cgit v1.3.1-10-gc9f91