]> arthur.barton.de Git - ngircd-alex.git/commit
Make NJOIN handler more fault-tolerant
authorAlexander Barton <alex@barton.de>
Sun, 13 Dec 2015 20:56:07 +0000 (21:56 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 13 Dec 2015 20:56:07 +0000 (21:56 +0100)
commit1e386fb7acdf6754a9ee4e6ddc8fa7180f6e5c1e
treec6379efcf7610ab01b053af0d7bd9da2598ed7b3
parent52ccba5d1e8cd2e648cf3c14598332bde6b9910d
Make NJOIN handler more fault-tolerant

Don't crash the daemon when the NJOIN handler can't join the new client
to a channel (when the Channel_Join() function failed) but try to KILL this
client -- which is the only possible reaction besides crashing: otherwise
the network would get out of sync.
src/ngircd/irc-server.c