diff options
| author | Alexander Barton <alex@barton.de> | 2023-01-02 21:42:04 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2023-01-02 21:48:42 +0100 |
| commit | 3c9c54989ed20f4ed69ce6390430c01a1b0ce314 (patch) | |
| tree | 3c4facf8d1e3a114db882c7b8463f7ad8bc7b0cb /src/testsuite/misc-test.e | |
| parent | 0ea1715d00b5112f2c9abc0721164271d77825f6 (diff) | |
| download | ngircd-3c9c54989ed20f4ed69ce6390430c01a1b0ce314.tar.gz ngircd-3c9c54989ed20f4ed69ce6390430c01a1b0ce314.zip | |
Channel modes +k & +l: Always report an error when a parameter is missing
This relates to #290 and considerations which errors to show when: and I think it is the better approach to give feedback instead of silently failing. Note that this code path is also used when handling modes of channels defined in "[Channel]" blocks in configuration files: in this case the client is the local server and we can't send messages to it, because it has no socket connection! Therefore we need those "is_machine" checks and log an error im this case.
Diffstat (limited to 'src/testsuite/misc-test.e')
0 files changed, 0 insertions, 0 deletions