]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Channel modes +k & +l: Always report an error when a parameter is missing
authorAlexander Barton <alex@barton.de>
Mon, 2 Jan 2023 20:42:04 +0000 (21:42 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 2 Jan 2023 20:48:42 +0000 (21:48 +0100)
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.


No differences found