]> 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>
Wed, 13 Feb 2013 21:11:23 +0000 (22:11 +0100)
commitcb3b411166384da9460da69d242d350249e15f3a
tree729861f64b37a510f52011625472f04c36a6b850
parent121bcacb9889bb6318a508586f364647500a64e3
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).
(cherry picked from commit 508ca3044dd6d1a88686efceda92a7f2a9b4a926)
src/ngircd/parse.c