diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:34:32 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-18 23:34:32 +0000 |
commit | e11b5b5acedaa0fdd73394e6277ca0ae39f8e4c7 (patch) | |
tree | 380694631fb85b75f174db13f13a791b27076a4f /src/core/os_admin.c | |
parent | 12cc6334576c61933383783e94a7b12c818b080b (diff) |
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
Diffstat (limited to 'src/core/os_admin.c')
-rw-r--r-- | src/core/os_admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/os_admin.c b/src/core/os_admin.c index 06391e498..dc4695880 100644 --- a/src/core/os_admin.c +++ b/src/core/os_admin.c @@ -180,7 +180,7 @@ class CommandOSAdmin : public Command int i; for (i = 0; i < servadmins.count; ++i) { - if (!stricmp(nick, (static_cast<NickCore *>(servadmins.list[i]))->display) || match_wild_nocase(nick, (static_cast<NickCore *>(servadmins.list[i]))->display)) + if (!stricmp(nick, (static_cast<NickCore *>(servadmins.list[i]))->display) || Anope::Match((static_cast<NickCore *>(servadmins.list[i]))->display, nick, false)) admin_list(i + 1, static_cast<NickCore *>(servadmins.list[i]), u, &sent_header); } |