]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Fix ERR_CANNOTSENDTOCHAN_MSG message
authorAlexander Barton <alex@barton.de>
Sun, 7 Oct 2012 13:11:05 +0000 (15:11 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 7 Oct 2012 13:11:05 +0000 (15:11 +0200)
This error message is not only used if one can not send to a channel
because it is moderated, but for _all_ reasons when a message can not
be delivered (moderated, banned, no external messages, ...), so strip
the "(+m) -- Moderated" part of the error message again.

Bug introduced by commit 9a82304a.

src/ngircd/messages.h

index b94a999a1575102685fbd55373fe76e78434d17d..ec7bb6fd495f78608a2ded2ec30a613580bd679c 100644 (file)
 #define ERR_NOSUCHNICK_MSG             "401 %s %s :No such nick or channel name"
 #define ERR_NOSUCHSERVER_MSG           "402 %s %s :No such server"
 #define ERR_NOSUCHCHANNEL_MSG          "403 %s %s :No such channel"
-#define ERR_CANNOTSENDTOCHAN_MSG       "404 %s %s :Cannot send to channel (+m) -- Moderated"
+#define ERR_CANNOTSENDTOCHAN_MSG       "404 %s %s :Cannot send to channel"
 #define ERR_TOOMANYCHANNELS_MSG                "405 %s %s :You have joined too many channels"
 #define ERR_WASNOSUCHNICK_MSG          "406 %s %s :There was no such nickname"
 #define ERR_NOORIGIN_MSG               "409 %s :No origin specified"