erc: strip control chars before msg-block check