X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/f0fa15c5e512e4b6fd2f7bd65ea6cfbb8f960942..b36a53f4be733b326739fdebb2285d106eecbd06:/lisp/erc/erc-netsplit.el diff --git a/lisp/erc/erc-netsplit.el b/lisp/erc/erc-netsplit.el index 567c91cc07..83bc0dffc0 100644 --- a/lisp/erc/erc-netsplit.el +++ b/lisp/erc/erc-netsplit.el @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 2, or (at your option) +;; the Free Software Foundation; either version 3, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -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