]> arthur.barton.de Git - ngircd.git/commitdiff
Add "_MSG" postfix to ERR_WILDTOPLEVEL_MSG
authorAlexander Barton <alex@barton.de>
Mon, 4 Jan 2016 21:10:38 +0000 (22:10 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 4 Jan 2016 21:10:38 +0000 (22:10 +0100)
src/ngircd/irc.c
src/ngircd/messages.h

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] == '#') {
index 4f1632b09270f7a1c8f3d032f13047fed7851350..818d83b9e594102fc46ed01b1b79452b1533c057 100644 (file)
 #define ERR_INVALIDCAP_MSG             "410 %s %s :Invalid CAP subcommand"
 #define ERR_NORECIPIENT_MSG            "411 %s :No recipient given (%s)"
 #define ERR_NOTEXTTOSEND_MSG           "412 %s :No text to send"
-#define ERR_WILDTOPLEVEL               "414 %s :Wildcard in toplevel domain"
+#define ERR_WILDTOPLEVEL_MSG           "414 %s :Wildcard in toplevel domain"
 #define ERR_UNKNOWNCOMMAND_MSG         "421 %s %s :Unknown command"
 #define ERR_NOMOTD_MSG                 "422 %s :MOTD file is missing"
 #define ERR_NONICKNAMEGIVEN_MSG                "431 %s :No nickname given"