erc / erc-identd.el

Diff from to


 ;;; erc-identd.el --- RFC1413 (identd authentication protocol) server
-;; Copyright (C) 2003 Free Software Foundation, Inc.
+;; Copyright (C) 2003, 2006 Free Software Foundation, Inc.
 ;; Author: John Wiegley <>
 ;; Keywords: comm, processes
 			     system-type (user-login-name)))
 	(process-send-eof erc-identd-process)))))
 (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
 	(setq port (string-to-number port))))
   (if erc-identd-process
       (delete-process erc-identd-process))
-  (if (fboundp 'make-network-process)
-      (setq erc-identd-process
+  (setq erc-identd-process
+	(if (fboundp 'make-network-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)))
+				  :host 'local :service port
+				  :server t :noquery t
+				  :filter 'erc-identd-filter)
+	  (open-network-stream-server "identd" (generate-new-buffer "identd")
+				      port nil 'erc-identd-filter))))
 (defun erc-identd-stop (&rest ignore)
   (when erc-identd-process
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.