summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
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++;
}