X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fmatch.c;h=5e97e71fc15e5476b2f7935b75d2a0d4ebc35330;hb=60eac5e952ef4096557d63e323e34498cc88928f;hp=0f9009df815469ac9a97377127dc50cb72fe9bc3;hpb=d4eb55c79fb130844a08279cd574a19f188ffa99;p=ngircd-alex.git diff --git a/src/ngircd/match.c b/src/ngircd/match.c index 0f9009df..5e97e71f 100644 --- a/src/ngircd/match.c +++ b/src/ngircd/match.c @@ -61,10 +61,7 @@ MatchCaseInsensitive(const char *pattern, const char *searchme) char haystack[COMMAND_LEN]; strlcpy(haystack, searchme, sizeof(haystack)); - - ngt_LowerStr(haystack); - - return Match(pattern, haystack); + return Match(pattern, ngt_LowerStr(haystack)); } /* MatchCaseInsensitive */