Mercurial > emacs
diff lisp/erc/erc-identd.el @ 69690:a90c92cb9783
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-179
Creator: Michael Olson <mwolson@gnu.org>
Update from erc--emacs--0
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 27 Mar 2006 11:27:46 +0000 |
parents | 7010bb070445 |
children | 3d0d6e217db9 |
line wrap: on
line diff
--- a/lisp/erc/erc-identd.el Mon Mar 27 09:36:18 2006 +0000 +++ b/lisp/erc/erc-identd.el Mon Mar 27 11:27:46 2006 +0000 @@ -46,6 +46,7 @@ system-type (user-login-name))) (process-send-eof erc-identd-process))))) +;;;###autoload (defun erc-identd-start (&optional port) "Start an identd server listening to port 8113. Port 113 (auth) will need to be redirected to port 8113 on your @@ -60,15 +61,14 @@ (setq port (string-to-number port)))) (if erc-identd-process (delete-process erc-identd-process)) - (if (fboundp 'make-network-process) - (setq erc-identd-process - (make-network-process :name "identd" - :buffer (generate-new-buffer "identd") - :service port :server t :noquery t - :filter 'erc-identd-filter)) - (open-network-stream-server "identd" (generate-new-buffer "identd") - port nil 'erc-identd-filter))) + (setq erc-identd-process + (make-network-process :name "identd" + :buffer (generate-new-buffer "identd") + :host 'local :service port + :server t :noquery t + :filter 'erc-identd-filter))) +;;;###autoload (defun erc-identd-stop (&rest ignore) (interactive) (when erc-identd-process