Branch: refs/heads/master Home: https://github.com/ngircd/ngircd Commit: 98e9467c85b1a81fbbcebf2be21b3a0d83fb60c4 https://github.com/ngircd/ngircd/commit/98e9467c85b1a81fbbcebf2be21b3a0d83fb... Author: Alexander Barton alex@barton.de Date: 2015-12-13 (Sun, 13 Dec 2015)
Changed paths: M src/ngircd/irc-server.c
Log Message: ----------- IRC_NJOIN(): Code cleanup
No functional changes.
Commit: 52ccba5d1e8cd2e648cf3c14598332bde6b9910d https://github.com/ngircd/ngircd/commit/52ccba5d1e8cd2e648cf3c14598332bde6b9... Author: Alexander Barton alex@barton.de Date: 2015-12-13 (Sun, 13 Dec 2015)
Changed paths: M src/ngircd/irc.c
Log Message: ----------- 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.
Commit: 1e386fb7acdf6754a9ee4e6ddc8fa7180f6e5c1e https://github.com/ngircd/ngircd/commit/1e386fb7acdf6754a9ee4e6ddc8fa7180f6e... Author: Alexander Barton alex@barton.de Date: 2015-12-13 (Sun, 13 Dec 2015)
Changed paths: M src/ngircd/irc-server.c
Log Message: ----------- 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.
Compare: https://github.com/ngircd/ngircd/compare/e8dacb68dc1c...1e386fb7acdf
ngircd-commits@lists.barton.de