# Pastebin ahWCfdX4 (defun fix-irc-message (msg) (let ((msg (s-trim msg))) (if (string-equal msg ":q") "" msg))) (advice-add #'erc-user-input :filter-return #'fix-irc-message)