diff options
| author | Alexander Barton <alex@barton.de> | 2016-01-04 20:37:13 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2016-01-04 20:37:13 +0100 |
| commit | 4693226d6983b5ed4bd74b32a8daa9a3124ed17c (patch) | |
| tree | a67122dbe55ff5c0899884c82e2bbf3f0e91b55f /src/testsuite/join-test.e | |
| parent | afb59ab8e5ccf5d48c78dab53e8ec64d21829a8d (diff) | |
| download | ngircd-4693226d6983b5ed4bd74b32a8daa9a3124ed17c.tar.gz ngircd-4693226d6983b5ed4bd74b32a8daa9a3124ed17c.zip | |
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)!
Diffstat (limited to 'src/testsuite/join-test.e')
0 files changed, 0 insertions, 0 deletions