]> arthur.barton.de Git - ngircd-alex.git/commit
Update error messages for user mode +b and channel Mode +M.
authorDNS777 <dns@rbose.org>
Fri, 19 Oct 2012 16:37:33 +0000 (18:37 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 19 Oct 2012 16:38:46 +0000 (18:38 +0200)
commit3ee98d9f72449c88861744aebdd0a2e570bc3bc5
treeeb8f46c5880a0ca9e8a691a4225c6b8cbe8ae895
parentb1a5ade88f304d7e7c5a2c41511061141842dadd
Update error messages for user mode +b and channel Mode +M.

Replaced error message for channel mode +M with ERR_NEEDREGGEDNICK_MSG
(used by Bahamut, inspircd, ircu & Unreal too) and using numeric 477
and the msg simliar like inspircd.

Replaced the error message ERR_CANNOTSENDTONICK_MSG for user mode +b
with ERR_NONONREG_MSG and using numeric 486, similar like unrealircd.

(cherry picked from commit 55a61ab17f63a9e757b7c7598c31b98ce5a132e8
and commit 3737d9ab7da1ea0485cefc07c65dc5308bf0db02)
src/ngircd/channel.c
src/ngircd/irc.c
src/ngircd/messages.h
src/testsuite/message-test.e