Module: ngircd.git
Branch: master
Commit: 904c8a4375cb9deed64007b06c6a7ba42313d93d
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=904c8a43…
Author: Alexander Barton <alex(a)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=904c…
Module: ngircd.git
Branch: master
Commit: b86e33ef4945e21078b2c1f37a5d276e615450ee
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=b86e33ef…
Author: Alexander Barton <alex(a)barton.de>
Date: Tue Aug 6 23:36:10 2013 +0200
irc-macros.h: Update copyright, don't forget contributors!
---
src/ngircd/irc-macros.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/irc-macros.h b/src/ngircd/irc-macros.h
index abb93f0..07ccfd2 100644
--- a/src/ngircd/irc-macros.h
+++ b/src/ngircd/irc-macros.h
@@ -1,6 +1,6 @@
/*
* ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2013 Alexander Barton (alex(a)barton.de).
+ * Copyright (c)2001-2013 Alexander Barton (alex(a)barton.de) and Contributors.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by