Function: erc-login
erc-login is a byte-compiled function defined in erc.el.gz.
Signature
(erc-login)
Documentation
Perform user authentication at the IRC server.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-login ()
"Perform user authentication at the IRC server."
(erc-log (format "login: nick: %s, user: %s %s %s :%s"
(erc-current-nick)
(user-login-name)
(or erc-system-name (system-name))
erc-session-server
erc-session-user-full-name))
(if erc-session-password
(erc-server-send (concat "PASS :" (erc--unfun erc-session-password)))
(message "Logging in without password"))
(erc-server-send (format "NICK %s" (erc-current-nick)))
(erc-server-send
(format "USER %s %s %s :%s"
;; hacked - S.B.
erc-session-username
"0" "*"
erc-session-user-full-name))
(erc-update-mode-line))