erc-wash-quit-reason

erc-wash-quit-reason is a compiled Lisp function in `erc.el'.

(erc-wash-quit-reason REASON NICK LOGIN HOST)

Remove duplicate text from quit REASON.
Specifically in relation to NICK (user@host) information. Returns REASON
unmodified if nothing can be removed.
E.g. "Read error to Nick [user@some.host]: 110" would be shortened to
"Read error: 110". The same applies for "Ping Timeout".