diff options
| author | Alexander Barton <alex@barton.de> | 2012-10-07 15:11:05 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2012-10-07 15:11:05 +0200 |
| commit | 87deb430125413cbb2ba415936b40d6420703572 (patch) | |
| tree | 92339ea05824cefdbddd2b14f9878c765d8e5d3d | |
| parent | a9cbb375b77576c371c0c9b48e8e8cf64f7731a4 (diff) | |
| download | ngircd-87deb430125413cbb2ba415936b40d6420703572.tar.gz ngircd-87deb430125413cbb2ba415936b40d6420703572.zip | |
Fix ERR_CANNOTSENDTOCHAN_MSG message
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.
| -rw-r--r-- | src/ngircd/messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/messages.h b/src/ngircd/messages.h index b94a999a..ec7bb6fd 100644 --- a/src/ngircd/messages.h +++ b/src/ngircd/messages.h @@ -102,7 +102,7 @@ #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" |