about summary refs log tree commit diff
path: root/src/ipaddr
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-01-26 16:52:41 +0100
committerAlexander Barton <alex@barton.de>2013-01-26 17:00:03 +0100
commitd38d153f51738da31d40036c7c48b32d82234018 (patch)
treee1ca272e40594e3da3d9970ccd9bade3f992e7b1 /src/ipaddr
parentfd260404caa7ce174ada663024d19cd789c152b5 (diff)
downloadngircd-d38d153f51738da31d40036c7c48b32d82234018.tar.gz
ngircd-d38d153f51738da31d40036c7c48b32d82234018.zip
Streamline punctuation of log messages
Make sure that all log messages end with a correct punctuation mark.

The rules for formatting log messages are:

 1. Add punctuation marks to all messages passed to the actual logging
    functions like Log() and LogDebug().
 2. Don't add any punctuation marks to messages that are stored in
    variables for later use or are passed over the network.
 3. IP addresses, DNS host names and IRC server names should be quoted.
 4. Messages originating in the network should be quoted (at least if
    they are "untrusted" or variable).

Most probably this patch doesn't fix all mistakes, but it should be a
good starting point ...
Diffstat (limited to 'src/ipaddr')
0 files changed, 0 insertions, 0 deletions