Inconsistent handling of STATUSMSG messages in logs. #679

Open
opened 2026-10-05 04:38:00 +02:00 by adam · 3 comments
Owner

In incoming messages to @#channel, $WINDOW gets substituted to #channel, whereas in outgoing messages to @#channel $WINDOW gets substituted to @#channel. Because of this, incoming statusmsg messages are included in the channel logs, while outgoing statusmsgs are not.

Given that it's currently impossible to distinguish statusmsg messages from regular ones I think the better solution is to make all statusmsgs log to <status>#channel, as opposed to including them both in the channel log.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30375928-inconsistent-handling-of-statusmsg-messages-in-logs?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
In incoming messages to `@#channel`, $WINDOW gets substituted to `#channel`, whereas in outgoing messages to `@#channel` $WINDOW gets substituted to `@#channel`. Because of this, incoming statusmsg messages are included in the channel logs, while outgoing statusmsgs are not. Given that it's currently impossible to distinguish statusmsg messages from regular ones I think the better solution is to make all statusmsgs log to `<status>#channel`, as opposed to including them both in the channel log. ## <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30375928-inconsistent-handling-of-statusmsg-messages-in-logs?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:130078399 -->
Author
Owner

I think this is fixed in git.

I think this is fixed in git. <!-- github-comment-id:177423562 -->
Author
Owner

I could reproduce it on 10785ee

I could reproduce it on 10785ee <!-- github-comment-id:177602113 -->
Author
Owner

A possibly related issue is that incoming statusmsg messages are included in the channel buffer while outgoing are not.

A possibly related issue is that incoming statusmsg messages are included in the channel buffer while outgoing are not. <!-- github-comment-id:177620150 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#679