erc-join-hook

erc-join-hook is a variable defined in `erc.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Hook run when we join a channel. Hook functions are called
without arguments, with the current buffer set to the buffer of
the new channel.

See also `erc-server-JOIN-functions', `erc-part-hook'.

You can customize this variable.