]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc.c
Add "_MSG" postfix to ERR_WILDTOPLEVEL_MSG
[ngircd-alex.git] / src / ngircd / irc.c
index ef0e95ce11284feb08ac4754637ee68ba6daf991..bd741cbbad732df693a235ed17d3a6c89c7cd03c 100644 (file)
@@ -771,7 +771,8 @@ Send_Message_Mask(CLIENT * from, char * command, char * targetMask,
        if (!check_wildcards || check_wildcards[strcspn(check_wildcards, "*?")]) {
                if (!SendErrors)
                        return true;
-               return IRC_WriteErrClient(from, ERR_WILDTOPLEVEL, targetMask);
+               return IRC_WriteErrClient(from, ERR_WILDTOPLEVEL_MSG,
+                                         targetMask);
        }
 
        if (targetMask[0] == '#') {