summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-ibuffer.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/erc/erc-ibuffer.el')
-rw-r--r--lisp/erc/erc-ibuffer.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/erc/erc-ibuffer.el b/lisp/erc/erc-ibuffer.el
index 5266d837d64..25ad1319bd6 100644
--- a/lisp/erc/erc-ibuffer.el
+++ b/lisp/erc/erc-ibuffer.el
@@ -127,8 +127,7 @@
(define-ibuffer-column erc-away (:name "A")
(if (and erc-server-process
(processp erc-server-process)
- (with-current-buffer (process-buffer erc-server-process)
- erc-away))
+ (erc-away-time))
"A"
" "))