From: Amin Bandali Date: Fri, 1 Oct 2021 05:31:29 +0000 (-0400) Subject: ; Oops, fix up last commit X-Git-Tag: emacs-28.0.90~483 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94c247d65978c204c51c829e6b03b651d5bbd454;p=emacs.git ; Oops, fix up last commit --- diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index a57c3320f95..c4077d48ab0 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -3311,7 +3311,7 @@ Specifying the server is useful for getting the time the user has been idle for, when the user is connected to a different server on the same IRC network. (Only the server a user is connected to knows how long the user has been idle for.)" - (let ((send (if nick-if-server + (let ((send (if second (format "WHOIS %s %s" first second) (format "WHOIS %s" first)))) (erc-log (format "cmd: %s" send))