Feature request: option to not share WHOIS output to clients with different clientID if route replies module is loaded #1045

Open
opened 2026-10-05 05:00:16 +02:00 by adam · 2 comments
Owner

Hi,

right now even if route_replies module is loaded if you have for example two clients connected to the same network with different clientId like user@clientId1/network and user@clientId2/network, if one of the clients execute an WHOIS command the output of the command is shared to the other client, you see the output on the other client too in practice.

I would be nice, imho, if it's possible to disable this behaviour with an option.

Thanks

Hi, right now even if `route_replies` module is loaded if you have for example two clients connected to the same network with different clientId like `user@clientId1/network` and `user@clientId2/network`, if one of the clients execute an `WHOIS` command the output of the command is shared to the other client, you see the output on the other client too in practice. I would be nice, imho, if it's possible to disable this behaviour with an option. Thanks <!-- github-sync-id:2434049388 -->
Author
Owner

Which numerics are you seeing being routed to all connected clients?

I am asking since route_replies already handles whois requests: https://github.com/znc/znc/blob/0506e95a74ad6b24d3d1b45a0d053d543a822af8/modules/route_replies.cpp#L62-L84

Which numerics are you seeing being routed to all connected clients? I am asking since `route_replies` already handles `whois` requests: https://github.com/znc/znc/blob/0506e95a74ad6b24d3d1b45a0d053d543a822af8/modules/route_replies.cpp#L62-L84 <!-- github-comment-id:2254608967 -->
Author
Owner

Hi,

I have as test clients weechat and hexchat.

WHOIS on hexchat client on weechat client I get 311, 378, 319, 312, 379, 344, 330, 307, 671, 317, 318.

WHOIS on weechat client on hexchat client I get 344, 310.

I don't why this different behaviour.

ZNC 1.8.2

Hi, I have as test clients weechat and hexchat. `WHOIS` on hexchat client on weechat client I get 311, 378, 319, 312, 379, 344, 330, 307, 671, 317, 318. `WHOIS` on weechat client on hexchat client I get 344, 310. I don't why this different behaviour. ZNC 1.8.2 <!-- github-comment-id:2254632714 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#1045