Function: erc-autoaway-reset-idle-irc

erc-autoaway-reset-idle-irc is a byte-compiled function defined in erc-autoaway.el.gz.

Signature

(erc-autoaway-reset-idle-irc LINE &rest STUFF)

Documentation

Reset the stored IRC idle time.

This is one global variable since a user talking on one net can talk on another net too.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-autoaway.el.gz
(defun erc-autoaway-reset-idle-irc (line &rest _stuff)
  "Reset the stored IRC idle time.
This is one global variable since a user talking on one net can
talk on another net too."
  (when (and erc-auto-discard-away
	     (stringp line)
	     (not (string-match erc-autoaway-no-auto-discard-regexp line)))
    (erc-autoaway-set-back))
  (setq erc-autoaway-last-sent-time (erc-current-time)))