]> arthur.barton.de Git - ngircd-alex.git/commit
New function IRC_KillClient() to kill clients
authorAlexander Barton <alex@barton.de>
Tue, 1 Oct 2013 10:13:17 +0000 (12:13 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 1 Oct 2013 10:13:17 +0000 (12:13 +0200)
commitb5faf3055b61afaef73ac49a448cac1a5b063127
treecb1f9b0b468ba577fbb0bec4d3cb6a25932439ce
parentcccd8fc957e893e250324b65146df8fca4680f11
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
src/ngircd/irc.c
src/ngircd/irc.h