summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c4
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))