Variable: erc-after-connect

erc-after-connect is a customizable variable defined in erc.el.gz.

Value

nil

Documentation

Abnormal hook run upon establishing a logical IRC connection.

Runs on MOTD's end when erc-server-connected becomes non-nil. ERC calls members with erc-server-announced-name, falling back to the 376/422 message's "sender", as well as the current nick, as given by the 376/422 message's "target" parameter, which is typically the same as that reported by erc-current-nick.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defcustom erc-after-connect nil
  "Abnormal hook run upon establishing a logical IRC connection.
Runs on MOTD's end when `erc-server-connected' becomes non-nil.
ERC calls members with `erc-server-announced-name', falling back
to the 376/422 message's \"sender\", as well as the current nick,
as given by the 376/422 message's \"target\" parameter, which is
typically the same as that reported by `erc-current-nick'."
  :group 'erc-hooks
  :type '(repeat function))