mirror of
https://github.com/anope/anope.git
synced 2026-07-06 16:33:14 +02:00
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
This commit is contained in:
+1
-3
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user