]> code.delx.au - gnu-emacs/blobdiff - lisp/erc/erc-identd.el
Merge from emacs--devo--0
[gnu-emacs] / lisp / erc / erc-identd.el
index 8a70a743edbab6835e9d7e8be1d5bca1dd4fa0da..db933094e1987bc8105c81fd124fe118c592fb68 100644 (file)
@@ -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,
@@ -74,7 +74,8 @@ This can be either a string or a number."
                     (format "%s, %s : USERID : %s : %s\n"
                             port-on-server port-on-client
                             system-type (user-login-name)))
-       (process-send-eof erc-identd-process)))))
+       (stop-process erc-identd-process)
+       (delete-process proc)))))
 
 ;;;###autoload
 (defun erc-identd-start (&optional port)