Branch: refs/heads/master Home: https://github.com/ngircd/ngircd Commit: 4693226d6983b5ed4bd74b32a8daa9a3124ed17c https://github.com/ngircd/ngircd/commit/4693226d6983b5ed4bd74b32a8daa9a3124e... Author: Alexander Barton alex@barton.de Date: 2016-01-04 (Mon, 04 Jan 2016)
Changed paths: M src/ngircd/irc.c
Log Message: ----------- Get rid of unclever assert() in Send_Message_Mask()
Either we use assert() to _guarantee_ a certain condition, or we use if(...) to test for it. But never both.
So get rid of the assert() in Send_Message_Mask() and handle the case that the target mask doesn't contain a dot (".") as regular error, don't require the caller to assure that any more.
This polishes commit 5a312824.
Please note: The test in Send_Message() is still _required_ to detect whether the target is a channel (no dot) or a "target mask" (at least one dot)!
Commit: 7c7d03b7309062995583595cfbdbd0f356d7a23b https://github.com/ngircd/ngircd/commit/7c7d03b7309062995583595cfbdbd0f356d7... Author: Alexander Barton alex@barton.de Date: 2016-01-04 (Mon, 04 Jan 2016)
Changed paths: M src/ngircd/irc.c
Log Message: ----------- Enahnce comments for Send_Message() and Send_Message_Mask()
No functional changes.
Compare: https://github.com/ngircd/ngircd/compare/afb59ab8e5cc...7c7d03b73090
ngircd-commits@lists.barton.de