]> arthur.barton.de Git - ngircd-alex.git/commitdiff
IRC_KillClient(): Don't break when called without "Client"
authorAlexander Barton <alex@barton.de>
Sun, 13 Dec 2015 20:48:31 +0000 (21:48 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 13 Dec 2015 20:53:53 +0000 (21:53 +0100)
The IRC_KillClient() function is documented to handle the case that the
"Client" structure is NULL, so make sure that this actually works and
can't crash the daemon.

Please note:
The current code doesn't make use of this feature, so this fix is
definitely the "right" thing to do but doesn't fix an actual problem.


No differences found