erc-quit-reason

erc-quit-reason is a variable defined in `erc.el'.
Its value is
erc-quit-reason-normal


Documentation:
A function which returns the reason for quitting.

The function is passed a single argument, the string typed by the
user after "/quit".

You can customize this variable.