]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Adjust log messages for invalid and spoofed prefixes
authorAlexander Barton <alex@barton.de>
Thu, 26 Sep 2013 00:26:24 +0000 (02:26 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 26 Sep 2013 00:28:16 +0000 (02:28 +0200)
Now invalid prefixes aren't logged no more when originating from an other
server (besides in debug mode), and spoofed prefixes are correctly logged
using LOG_WARNING (from an other server) or LOG_ERR (from a client) levels.

In addition, the log message texts have been adjusted to better reflect
what will happen: commands with invalid prefixes are ignored and logged,
commands with spoofed prefixes will result in the client being disconncted
(regular users) or the command being ignored (other servers).

This cleans up logging of commands related to already KILL'ed clients.


No differences found