diff options
Diffstat (limited to 'lisp/erc/erc-notify.el')
-rw-r--r-- | lisp/erc/erc-notify.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/erc/erc-notify.el b/lisp/erc/erc-notify.el index 96d49df4799..7f777309f66 100644 --- a/lisp/erc/erc-notify.el +++ b/lisp/erc/erc-notify.el @@ -111,7 +111,8 @@ changes." ;;;; Timer handler (defun erc-notify-timer (now) - (when (and erc-notify-list + (when (and erc-server-connected + erc-notify-list (> (erc-time-diff erc-last-ison-time now) erc-notify-interval)) |