it's impossible to have an empty quit message #562

Closed
opened 2026-10-05 04:30:03 +02:00 by adam · 6 comments
Owner

In ZNC 1.7.x-git-308-eac0af1 it's impossible to not have a quit message, setting the network-level QuitMsg to the empty string uses the user-level QuitMsg, and setting that one to the empty string causes it to reset to the default quit message, "ZNC - http://znc.in", as described by https://github.com/znc/znc/blob/eac0af1/src/User.cpp#L1269 .

In ZNC 1.7.x-git-308-eac0af1 it's impossible to not have a quit message, setting the network-level QuitMsg to the empty string uses the user-level QuitMsg, and setting _that_ one to the empty string causes it to reset to the default quit message, "ZNC - http://znc.in", as described by https://github.com/znc/znc/blob/eac0af1/src/User.cpp#L1269 . <!-- github-sync-id:103877658 -->
adam closed this issue 2026-10-05 04:30:03 +02:00
Author
Owner

And this is a problem... how?

And this is a problem... how? <!-- github-comment-id:136045625 -->
Author
Owner

@teward Some people just don't want a quit message. Its a preference.

@teward Some people just don't want a quit message. Its a preference. <!-- github-comment-id:136047412 -->
Author
Owner

A suggested fix can be found in #1049

A suggested fix can be found in #1049 <!-- github-comment-id:136054959 -->
Author
Owner

Looks like %empty% is no longer available at least as of ZNC 1.6.3 so there is no longer a way to have an empty quit message. Reopen?

Looks like %empty% is no longer available at least as of ZNC 1.6.3 so there is no longer a way to have an empty quit message. Reopen? <!-- github-comment-id:231274381 -->
Author
Owner

The commit that added %empty% to the expansions (39d373c) is not included in 1.6.x. It will be included when 1.7 is released. It's less that "there is no longer a way", and more that "there is not yet a way when using stable releases".

The commit that added `%empty%` to the expansions (39d373c) is not included in 1.6.x. It will be included when 1.7 is released. It's less that "there is no longer a way", and more that "there is not yet a way when using stable releases". <!-- github-comment-id:231275879 -->
Author
Owner

Ah. Thanks for the clarification.

Ah. Thanks for the clarification. <!-- github-comment-id:231275992 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#562