Truncate topics if needed to comply with IRC specs