From cea66039aa62a482a92dd82aedeac60e765e18ca Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 18 May 2008 18:26:07 +0000 Subject: Fix two occurances of match() on a const char* here git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9739 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_oper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_oper.cpp') diff --git a/src/commands/cmd_oper.cpp b/src/commands/cmd_oper.cpp index c09960f13..0e08c3357 100644 --- a/src/commands/cmd_oper.cpp +++ b/src/commands/cmd_oper.cpp @@ -22,7 +22,7 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist) std::string xhost; while (hl >> xhost) { - if (match(host,xhost.c_str()) || match(ip,xhost.c_str(),true)) + if (match(host, xhost) || match(ip,xhost, true)) { return true; } -- cgit v1.3.1-10-gc9f91