awaynick should restore last nick, not default nick #132

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

I set my awaynick to: %nick%_offline, which uses my current nick and appends _offline, that works great.

However, when I re-connect, I get my %defnick%, not my %nick% (http://wiki.znc.in/ExpandString). I'd rather have my previous nick restored, not the default.

I set my awaynick to: %nick%_offline, which uses my current nick and appends _offline, that works great. However, when I re-connect, I get my %defnick%, not my %nick% (http://wiki.znc.in/ExpandString). I'd rather have my previous nick restored, not the default. <!-- github-sync-id:5991958 -->
adam closed this issue 2026-10-05 04:00:38 +02:00
Author
Owner

This is a duplicate of #76

This is a duplicate of #76 <!-- github-comment-id:7676537 -->
Author
Owner

how is this a duplicate of #76? it clearly isn't, as #76 talks about restoring nicks upon znc's reconnect to irc. this ticket talks about when the irc client reconnects to znc.

i'm experiencing the same problem. if i've changed my nick from the default in znc's config, and i disconnect, it correctly uses my current nick with "|off" at the end (as i've configured with "%nick%|off"). however, when i reconnect to irc, it restores my default nick, not my previous one (what %nick% would evaluate to).

how is this a duplicate of #76? it clearly isn't, as #76 talks about restoring nicks upon znc's reconnect to irc. this ticket talks about when the irc client reconnects to znc. i'm experiencing the same problem. if i've changed my nick from the default in znc's config, and i disconnect, it correctly uses my current nick with "|off" at the end (as i've configured with "%nick%|off"). however, when i reconnect to irc, it restores my default nick, not my previous one (what %nick% would evaluate to). <!-- github-comment-id:10707771 -->
Author
Owner

Actually, when your nick is nick|off, %nick% is nick|off too, just because it's the current nick.
So this issue should sound more like... "/nick should change default nick, not only current nick"

Actually, when your nick is nick|off, %nick% is nick|off too, just because it's the current nick. So this issue should sound more like... "/nick should change default nick, not only current nick" <!-- github-comment-id:10713173 -->
Author
Owner

With awaynick module removed, this issue is obsolete.

With awaynick module removed, this issue is obsolete. <!-- github-comment-id:65318188 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#132