add spaces around channel names surrounded by square brackets in *status output #973

Closed
opened 2026-10-05 04:56:25 +02:00 by adam · 2 comments
Owner

When *status outputs messages including channel names surrounded by square brackets, such as:

<*status> Channel [#channelname] is linked to another channel and was thus disabled.

It would be an improvement to place space between the channel name and the square brackets, such as:

<*status> Channel [ #channelname ] is linked to another channel and was thus disabled.

Since [ and ] are valid channel name characters, some clients will include them in operations offered when right-clicking on them in these *status messages.

For instance, in hexchat when right-clicking this channel name, it will offer to re-join:
#channelname]
instead of:
#channelname

Thank You

When *status outputs messages including channel names surrounded by square brackets, such as: <*status> Channel [#channelname] is linked to another channel and was thus disabled. It would be an improvement to place space between the channel name and the square brackets, such as: <*status> Channel [ #channelname ] is linked to another channel and was thus disabled. Since [ and ] are valid channel name characters, some clients will include them in operations offered when right-clicking on them in these *status messages. For instance, in hexchat when right-clicking this channel name, it will offer to re-join: #channelname] instead of: #channelname Thank You <!-- github-sync-id:765502194 -->
adam closed this issue 2026-10-05 04:56:25 +02:00
Author
Owner

Probably [] are not even necessary there

Probably [] are not even necessary there <!-- github-comment-id:744031408 -->
Author
Owner

It looks like [ ] was removed in this commit https://github.com/znc/znc/commit/1eceb5a5c76dca8feda6b693b871b84441fe7fd0. Should this be closed?

It looks like [ ] was removed in this commit https://github.com/znc/znc/commit/1eceb5a5c76dca8feda6b693b871b84441fe7fd0. Should this be closed? <!-- github-comment-id:2973502771 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#973