From 1960eed0b1b25e1649de79a679290880e18631d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Thu, 27 Oct 2016 01:59:36 -0400 Subject: [PATCH] Use double-nick in whois on query to get idle time This queries server of the other user and not current user, which does not know idle time. See http://superuser.com/a/272069/208074. --- client/js/lounge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index 8450f43fce..6f3a890351 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -844,7 +844,7 @@ $(function() { socket.emit("input", { target: chat.data("id"), - text: "/whois " + name + text: "/whois " + name + " " + name }); });