Function: rcirc-get-server-method

rcirc-get-server-method is a byte-compiled function defined in rcirc.el.gz.

Signature

(rcirc-get-server-method SERVER)

Documentation

Return authentication method for SERVER.

Source Code

;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-get-server-method (server)
  "Return authentication method for SERVER."
  (catch 'method
    (dolist (i rcirc-authinfo)
      (let ((server-i (car i))
	    (method (cadr i)))
	(when (string-match server-i server)
          (throw 'method method))))))