aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/erc')
-rw-r--r--lisp/erc/erc.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index ac0c08bd3a2..7fa2d37c9f2 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -3301,10 +3301,13 @@ a script after exceeding the flood threshold."
3301(defun erc-cmd-WHOIS (user &optional server) 3301(defun erc-cmd-WHOIS (user &optional server)
3302 "Display whois information for USER. 3302 "Display whois information for USER.
3303 3303
3304If SERVER is non-nil, use that, rather than the current server." 3304If SERVER is non-nil, use that, rather than the current server.
3305 ;; FIXME: is the above docstring correct? -- Lawrence 2004-01-08 3305This is useful for getting the time USER has been idle for, if
3306USER is on a different server of the network than the current
3307user, since only the server the user is connected to knows this
3308information."
3306 (let ((send (if server 3309 (let ((send (if server
3307 (format "WHOIS %s %s" user server) 3310 (format "WHOIS %s %s" server user)
3308 (format "WHOIS %s" user)))) 3311 (format "WHOIS %s" user))))
3309 (erc-log (format "cmd: %s" send)) 3312 (erc-log (format "cmd: %s" send))
3310 (erc-server-send send) 3313 (erc-server-send send)