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/cs_xop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/cs_xop.c') diff --git a/src/core/cs_xop.c b/src/core/cs_xop.c index 569ea3cdc..645151bc7 100644 --- a/src/core/cs_xop.c +++ b/src/core/cs_xop.c @@ -354,7 +354,7 @@ class XOPBase : public Command { for (int i = 0; i < ci->accesscount; ++i) { - if (nick && ci->access[i].nc && !match_wild_nocase(nick, ci->access[i].nc->display)) + if (nick && ci->access[i].nc && !Anope::Match(ci->access[i].nc->display, nick, false)) continue; xop_list(u, i, ci, &sent_header, level, messages[XOP_LIST_HEADER]); } -- cgit