]> arthur.barton.de Git - ngircd.git/commit
Return better "Connection not registered as server link" errors
authorAlexander Barton <alex@barton.de>
Tue, 22 Jan 2013 09:54:06 +0000 (10:54 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 22 Jan 2013 09:54:06 +0000 (10:54 +0100)
commit508ca3044dd6d1a88686efceda92a7f2a9b4a926
tree1fe47a1a4c0ac7dc5023e70abb30a36032dce571
parentd8f2964710985597281de73aecd0a1ece30ecb03
Return better "Connection not registered as server link" errors

Now ngIRCd returns a more specific error message for numeric
ERR_NOTREGISTERED(451) when a regular user tries to use a command that
isn't allowed for users but for servers: ERR_NOTREGISTEREDSERVER(451).
src/ngircd/parse.c