diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 17:47:52 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 17:47:52 +0000 |
commit | ba47bf2f6f2fe04e50ca63b26f14ba1e524bee72 (patch) | |
tree | a00ce3d3e30bc4a7d96a0b174169cdd676af0135 /src/misc.c | |
parent | 330d9ee9e782a4ed3e2de8ff3082cc5bbe7d6b9e (diff) |
HelpServ has been destroyed, +1000 points. Also fixed the argument order in the deprecated match_wild() function.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/misc.c b/src/misc.c index 858cb0ebc..28f0009a1 100644 --- a/src/misc.c +++ b/src/misc.c @@ -219,7 +219,7 @@ const char *merge_args(int argc, char **argv) */ int match_wild(const char *pattern, const char *str) { - return Anope::Match(str, pattern, true); + return Anope::Match(pattern, str, true); } /*************************************************************************/ @@ -828,8 +828,6 @@ int nickIsServices(const char *tempnick, int bot) found++; else if (s_BotServ && (stricmp(nick, s_BotServ) == 0)) found++; - else if (s_HelpServ && (stricmp(nick, s_HelpServ) == 0)) - found++; else if (s_OperServ && (stricmp(nick, s_OperServ) == 0)) found++; else if (s_GlobalNoticer && (stricmp(nick, s_GlobalNoticer) == 0)) |