diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 11:33:39 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 11:33:39 +0000 |
commit | c8422a60294a47c086a7dad210c5938fe8b9a3d9 (patch) | |
tree | 4d1c0ceb0a62a35f0c7e73c9a81c1f703a0557b7 /src/misc.c | |
parent | 010c774bc241f0c3a9c116988bfc3637cf64c5d7 (diff) |
Fix call order, thanks to DP
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2082 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc.c b/src/misc.c index 51c6dac3e..9de7cfdca 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(pattern, str, true); + return Anope::Match(str, pattern, true); } /*************************************************************************/ @@ -233,7 +233,7 @@ int match_wild(const char *pattern, const char *str) */ int match_wild_nocase(const char *pattern, const char *str) { - return Anope::Match(pattern, str, false); + return Anope::Match(str, pattern, false); } /*************************************************************************/ |