*simple_away with %s in the reason, /msg *simple_away reason cuts off. #355

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

When you have a simple away reason with %s in it (in my case, Disconnected from ZNC (at %s), it'll cut off at the %s.

Resulting in the following line:

(21:58:53) <*simple_away> Away reason: Disconnected from ZNC (on
(21:58:53) <*simple_away> Current away reason would be: Disconnected from ZNC (on

Reproduction steps:

/msg *simple_away reason Disconnected from ZNC (on %s)
/msg *simple_away reason

Since this is only a returned message, and it actually works fine when setting you /away, this issue is trivial.

This was tested on ZNC version 1.4

When you have a simple away reason with %s in it (in my case, `Disconnected from ZNC (at %s)`, it'll cut off at the `%s`. Resulting in the following line: ``` (21:58:53) <*simple_away> Away reason: Disconnected from ZNC (on (21:58:53) <*simple_away> Current away reason would be: Disconnected from ZNC (on ``` Reproduction steps: ``` /msg *simple_away reason Disconnected from ZNC (on %s) /msg *simple_away reason ``` Since this is only a returned message, and it actually works fine when setting you /away, this issue is trivial. This was tested on ZNC version 1.4 <!-- github-sync-id:37600039 -->
adam closed this issue 2026-10-05 04:15:04 +02:00
Author
Owner

Seems to be fixed in master, can't reproduce on ZNC 1.5-git-211-154bf9f.

/msg *simple_away reason Disconnected from ZNC (on %s)
<*simple_away> Away reason set
/msg *simple_away reason
<*simple_away> Away reason: Disconnected from ZNC (on %s)
<*simple_away> Current away reason would be: Disconnected from ZNC (on Sun Jul 13 15:43:23 2014)
Seems to be fixed in master, can't reproduce on ZNC 1.5-git-211-154bf9f. ``` /msg *simple_away reason Disconnected from ZNC (on %s) <*simple_away> Away reason set /msg *simple_away reason <*simple_away> Away reason: Disconnected from ZNC (on %s) <*simple_away> Current away reason would be: Disconnected from ZNC (on Sun Jul 13 15:43:23 2014) ``` <!-- github-comment-id:48841343 -->
Author
Owner

Simple away was last modified 6 months ago; that's pretty odd. Is anyone
else able to (not) reproduce this?

On 13 July 2014 16:03, invisiplous notifications@github.com wrote:

Seems to be fixed in master, can't reproduce on ZNC 1.5-git-211-154bf9f.

/msg _simple_away reason Disconnected from ZNC (on %s)
<_simple_away> Away reason set
/msg _simple_away reason
<_simple_away> Away reason: Disconnected from ZNC (on %s)
<*simple_away> Current away reason would be: Disconnected from ZNC (on Sun Jul 13 15:43:23 2014)

—
Reply to this email directly or view it on GitHub
https://github.com/znc/znc/issues/592#issuecomment-48841343.

Simple away was last modified 6 months ago; that's pretty odd. Is anyone else able to (not) reproduce this? On 13 July 2014 16:03, invisiplous notifications@github.com wrote: > Seems to be fixed in master, can't reproduce on ZNC 1.5-git-211-154bf9f. > > /msg _simple_away reason Disconnected from ZNC (on %s) > <_simple_away> Away reason set > /msg _simple_away reason > <_simple_away> Away reason: Disconnected from ZNC (on %s) > <*simple_away> Current away reason would be: Disconnected from ZNC (on Sun Jul 13 15:43:23 2014) > > — > Reply to this email directly or view it on GitHub > https://github.com/znc/znc/issues/592#issuecomment-48841343. <!-- github-comment-id:48843347 -->
Author
Owner

Seems to be a client-side issue for mIRC. (/scid -a /msg *simple_away reason Hi (%s) hi cuts off (%s).)

Sorry for the confusion.

Seems to be a client-side issue for mIRC. (`/scid -a /msg *simple_away reason Hi (%s) hi` cuts off (%s).) Sorry for the confusion. <!-- github-comment-id:52178696 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#355