summary refs log tree commit diff
path: root/src/tool
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2015-12-13 21:48:31 +0100
committerAlexander Barton <alex@barton.de>2015-12-13 21:53:53 +0100
commit52ccba5d1e8cd2e648cf3c14598332bde6b9910d (patch)
tree73a19918884cfc16d12355bb2cacb60ef1d57546 /src/tool
parent98e9467c85b1a81fbbcebf2be21b3a0d83fb60c4 (diff)
downloadngircd-52ccba5d1e8cd2e648cf3c14598332bde6b9910d.tar.gz
ngircd-52ccba5d1e8cd2e648cf3c14598332bde6b9910d.zip
IRC_KillClient(): Don't break when called without "Client"
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.
Diffstat (limited to 'src/tool')
0 files changed, 0 insertions, 0 deletions