Skip to content

Commit

Permalink
Add "_MSG" postfix to ERR_WILDTOPLEVEL_MSG
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarton committed Jan 4, 2016
1 parent 40bea95 commit cedba36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/ngircd/irc.c
Expand Up @@ -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] == '#') {
Expand Down
2 changes: 1 addition & 1 deletion src/ngircd/messages.h
Expand Up @@ -114,7 +114,7 @@
#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"
Expand Down

0 comments on commit cedba36

Please sign in to comment.