From d6ad33ebd169afff31f9949e03337b47e37e7613 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Tue, 23 Apr 2019 22:50:17 -0400 Subject: [PATCH] Update plugin.py --- ASCII/plugin.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index a91246d..144f668 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -796,8 +796,12 @@ class ASCII(callbacks.Plugin): output = output.replace('\x0F\x03', '\x03') paste = "" for line in output.splitlines(): - if line.strip() and not line.startswith("Follow"): - line = line.strip('\x0F') + line = line.strip('\x0F') + if not line.strip(): + paste += line + "\n" + #time.sleep(delay) + irc.reply('\xa0', prefixNick = False, noLengthCheck=True, private=False, notice=False) + elif not line.startswith("Follow"): paste += line + "\n" #time.sleep(delay) irc.reply(line, prefixNick = False, noLengthCheck=True, private=False, notice=False)