summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-netsplit.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/erc/erc-netsplit.el')
-rw-r--r--lisp/erc/erc-netsplit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/erc/erc-netsplit.el b/lisp/erc/erc-netsplit.el
index 567c91cc075..b4c26b1bb88 100644
--- a/lisp/erc/erc-netsplit.el
+++ b/lisp/erc/erc-netsplit.el
@@ -184,7 +184,7 @@ join from that split has been detected or not.")
;;;###autoload
(defun erc-cmd-WHOLEFT ()
"Show who's gone."
- (with-current-buffer (erc-server-buffer)
+ (erc-with-server-buffer
(if (null erc-netsplit-list)
(erc-display-message
nil 'notice 'active