]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/match.c
Cosmetic whitespace and line length fixes, mostly in Send_Message().
[ngircd-alex.git] / src / ngircd / match.c
index 0f9009df815469ac9a97377127dc50cb72fe9bc3..5e97e71fc15e5476b2f7935b75d2a0d4ebc35330 100644 (file)
@@ -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 */