Module: ngircd.git Branch: master Commit: b5faf3055b61afaef73ac49a448cac1a5b063127 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=b5faf...
Author: Alexander Barton alex@barton.de Date: Tue Oct 1 12:13:17 2013 +0200
New function IRC_KillClient() to kill clients
The old local function Kill_Nick() in irc.c has been an ugly hack. This patch implements a generic function for killing clients.
Adjust all callers of Kill_Nick() and respect the return code!
---
src/ngircd/irc-login.c | 66 ++++++++--------------- src/ngircd/irc.c | 135 ++++++++++++++++++++++++++++-------------------- src/ngircd/irc.h | 5 +- 3 files changed, 105 insertions(+), 101 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=b...