diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 06:19:37 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 06:19:37 +0000 |
commit | 22e8e87a00404725f32f4a53f57809d917876914 (patch) | |
tree | 0833c986ac7149a61227830d3472bb83fb94172e /src/misc.c | |
parent | 15a2e1d4e4ffae3b351cb45183e9a868af37ead1 (diff) |
Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2080 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/misc.c b/src/misc.c index 51c6dac3e..f5b95c4f6 100644 --- a/src/misc.c +++ b/src/misc.c @@ -211,34 +211,6 @@ const char *merge_args(int argc, char **argv) /*************************************************************************/ /** - * match_wild: Case Senstive wild card search - * @param pattern To be matched - * @param str String in which the pattern is to be matched - * @return 1 if the string matches the pattern, 0 if not. - * NOTE: Deprecated by Anope::Match(). - */ -int match_wild(const char *pattern, const char *str) -{ - return Anope::Match(pattern, str, true); -} - -/*************************************************************************/ - -/** - * match_wild: Case Insenstive wild card search - * @param pattern To be matched - * @param str String in which the pattern is to be matched - * @return 1 if the string matches the pattern, 0 if not. - * NOTE: Deprecated by Anope::Match(). - */ -int match_wild_nocase(const char *pattern, const char *str) -{ - return Anope::Match(pattern, str, false); -} - -/*************************************************************************/ - -/** * Process a string containing a number/range list in the form * "n1[-n2][,n3[-n4]]...", calling a caller-specified routine for each * number in the list. If the callback returns -1, stop immediately. |