X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/7e09ef09a479731d01b1ca46e94ddadd73ac98e3..HEAD:/lisp/erc/erc-autoaway.el diff --git a/lisp/erc/erc-autoaway.el b/lisp/erc/erc-autoaway.el index 981a2139ca..cc1ea6f9cf 100644 --- a/lisp/erc/erc-autoaway.el +++ b/lisp/erc/erc-autoaway.el @@ -1,6 +1,6 @@ ;;; erc-autoaway.el --- Provides autoaway for ERC -;; Copyright (C) 2002-2004, 2006-2015 Free Software Foundation, Inc. +;; Copyright (C) 2002-2004, 2006-2016 Free Software Foundation, Inc. ;; Author: Jorgen Schaefer ;; Maintainer: emacs-devel@gnu.org @@ -270,7 +270,7 @@ active server buffer available." ;; existing process. (when (or notest (erc-autoaway-some-open-server-buffer)) (setq erc-autoaway-caused-away t) - (erc-cmd-GAWAY (format erc-autoaway-message idle-time)))) + (erc-cmd-GAWAY (format-message erc-autoaway-message idle-time)))) (defun erc-autoaway-reset-indicators (&rest stuff) "Reset indicators used by the erc-autoaway module."