diff --git a/quest/events.py b/quest/events.py index c56db70..2253a45 100644 --- a/quest/events.py +++ b/quest/events.py @@ -31,6 +31,7 @@ def message(socket, data): # cleaning message = message[:512] message = message.strip() + message = re.sub(r'\n\n+', '\n\n', message) if not message: return tags = ["b", "code", "i", "s"]