File: erc-services.el.html

As of ERC 5.6, this library's main module, services, mainly concerns itself with authenticating to legacy IRC servers. If your server supports SASL or CERTFP, please use one of those instead. See (info "(erc) client-certificate") and (info "(erc) SASL") for details. Note that this library also contains the local module services-regain as well as standalone utility functions.

There are two ways to go about identifying yourself automatically to NickServ with this module. The more secure way is to listen for identify requests from the user NickServ. Another way is to identify yourself to NickServ directly after a successful connection and every time you change your nickname. This method is rather insecure, though, because no checks are made to test if NickServ is the real NickServ for a given network or server.

As a default, ERC has the data for the official nickname services on the networks Austnet, BrasNET, Dalnet, freenode, GalaxyNet, GRnet, Libera.Chat, and Slashnet. You can add more by using M-x customize-variable RET erc-nickserv-alist.

Usage:

Customize the option erc-modules to include services.

Add your nickname and NickServ password to erc-nickserv-passwords. Using the Libera.Chat network as an example:

(setq erc-nickserv-passwords
      '((Libera.Chat (("nickname" . "password")))))

The default automatic identification mode is autodetection of NickServ identify requests. Set the variable erc-nickserv-identify-mode(var)/erc-nickserv-identify-mode(fun) if you'd like to change this behavior.

If you'd rather not identify yourself automatically but would like access to the functions contained in this file, just load this file without enabling erc-services-mode(var)/erc-services-mode(fun).

Defined variables (13)

erc-auth-source-services-functionFunction to retrieve NickServ password from auth-source.
erc-nickserv-alistAlist of NickServer details, sorted by network.
erc-nickserv-identified-hookRun this hook when NickServ acknowledged successful identification.
erc-nickserv-identify-modeThe mode which is used when identifying to Nickserv.
erc-nickserv-passwordsPasswords used when identifying to NickServ automatically.
erc-prompt-for-nickserv-passwordAsk for the password when identifying to NickServ.
erc-services-modeNon-nil if Erc-Services mode is enabled.
erc-services-mode-hookHook run after entering or leaving ‘erc-services-mode’.
erc-services-regain-alistAlist mapping networks to nickname-regaining functions.
erc-services-regain-modeNon-nil if Erc-Services-Regain mode is enabled.
erc-services-regain-mode-hookHook run after entering or leaving ‘erc-services-regain-mode’.
erc-services-regain-timeout-secondsSeconds after which to run callbacks if necessary.
erc-use-auth-source-for-nickserv-passwordQuery auth-source for a password when identifying to NickServ.

Defined functions (33)

erc-nickserv-alist-ident-command(NETWORK &optional ENTRY)
erc-nickserv-alist-ident-command--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-ident-keyword(NETWORK &optional ENTRY)
erc-nickserv-alist-ident-keyword--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-identified-regexp(NETWORK &optional ENTRY)
erc-nickserv-alist-identified-regexp--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-nickserv(NETWORK &optional ENTRY)
erc-nickserv-alist-nickserv--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-regexp(NETWORK &optional ENTRY)
erc-nickserv-alist-regexp--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-sender(NETWORK &optional ENTRY)
erc-nickserv-alist-sender--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-alist-use-nick-p(NETWORK &optional ENTRY)
erc-nickserv-alist-use-nick-p--inliner(INLINE--FORM NETWORK &optional ENTRY)
erc-nickserv-call-identify-function(NICKNAME)
erc-nickserv-get-password(NICK)
erc-nickserv-identification-autodetect(PROC PARSED)
erc-nickserv-identify(&optional PASSWORD NICK)
erc-nickserv-identify-autodetect(PROC PARSED)
erc-nickserv-identify-mode(MODE)
erc-nickserv-identify-on-connect(SERVER NICK)
erc-nickserv-identify-on-nick-change(NICK OLD-NICK)
erc-nickserv-mode(&optional ARG)
erc-nickserv-send-identify(NICK PASSWORD)
erc-services-disable()
erc-services-enable()
erc-services-issue-ghost-and-retry-nick(WANT)
erc-services-issue-regain(WANT)
erc-services-mode(&optional ARG)
erc-services-regain-disable(&optional ARG)
erc-services-regain-enable(&optional ARG)
erc-services-regain-mode(&optional ARG)
erc-services-retry-nick-on-connect(WANT)

Defined faces (0)