]> arthur.barton.de Git - ngircd-alex.git/commit
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)
commit87deb430125413cbb2ba415936b40d6420703572
tree92339ea05824cefdbddd2b14f9878c765d8e5d3d
parenta9cbb375b77576c371c0c9b48e8e8cf64f7731a4
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.
src/ngircd/messages.h