erc-active-buffer is a variable defined in `erc.el'.
Its value is
nil
Automatically becomes buffer-local when set.
Documentation:
The current active buffer, the one where the user typed the last command.
Defaults to the server buffer, and should only be set in the
server buffer.