From e11b5b5acedaa0fdd73394e6277ca0ae39f8e4c7 Mon Sep 17 00:00:00 2001 From: rburchell Date: Wed, 18 Feb 2009 23:34:32 +0000 Subject: Patch from DP, converting all match calls and removing old match method. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2111 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/os_noop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/os_noop.c') diff --git a/src/core/os_noop.c b/src/core/os_noop.c index cf1bdf23e..12d5ff53f 100644 --- a/src/core/os_noop.c +++ b/src/core/os_noop.c @@ -47,7 +47,7 @@ class CommandOSNOOP : public Command for (u2 = firstuser(); u2; u2 = u3) { u3 = nextuser(); - if (u2 && is_oper(u2) && u2->server->name && match_wild(server, u2->server->name)) + if (u2 && is_oper(u2) && u2->server->name && Anope::Match(u2->server->name, server, true)) kill_user(s_OperServ, u2->nick, reason); } } -- cgit