Module: ngircd.git Branch: master Commit: 904c8a4375cb9deed64007b06c6a7ba42313d93d URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=904c8...
Author: Alexander Barton alex@barton.de Date: Tue Aug 6 23:37:21 2013 +0200
Introduce new function IRC_WriteErrClient()
This function is used to send "error messages", including numerics, back to clients and to automatically enforce a 2 second penalty. With this patch, all error results enforces a delay for the client.
All callers of IRC_WriteStrClient(ERR_xxx) have been converted.
Please note that this patch prolongs the time "make check" needs to complete its tests, because of lots of new enforced penalties ...
---
src/ngircd/channel.c | 30 ++++++++--------- src/ngircd/client.c | 13 ++++---- src/ngircd/irc-cap.c | 2 +- src/ngircd/irc-channel.c | 34 +++++++++---------- src/ngircd/irc-encoding.c | 6 ++-- src/ngircd/irc-info.c | 26 ++++++--------- src/ngircd/irc-login.c | 64 ++++++++++++++++------------------- src/ngircd/irc-metadata.c | 8 ++--- src/ngircd/irc-mode.c | 81 ++++++++++++++++++++++----------------------- src/ngircd/irc-op.c | 29 ++++++++++------ src/ngircd/irc-oper.c | 33 +++++++++--------- src/ngircd/irc-server.c | 12 ++++--- src/ngircd/irc-write.c | 37 +++++++++++++++++++++ src/ngircd/irc-write.h | 2 ++ src/ngircd/irc.c | 26 +++++++-------- src/ngircd/op.c | 6 ++-- src/ngircd/parse.c | 13 ++++---- 17 files changed, 228 insertions(+), 194 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=9...
ngircd-commits@lists.barton.de