erc-track-switch-from-erc

erc-track-switch-from-erc is a variable defined in `erc-track.el'.
Its value is
t


Documentation:
If non-nil, `erc-track-switch-buffer' will return to the last non-erc buffer
when there are no more active channels.

You can customize this variable.