diff --git a/ASCII/plugin.py b/ASCII/plugin.py index c33c001..4355a30 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -1282,6 +1282,7 @@ class ASCII(callbacks.Plugin): return paste = "" self.stopped[msg.args[0]] = False + output = re.sub('(\x03(\d+).*)\x03,', '\g<1>\x03\g<2>,', output) for line in output.splitlines(): line = line.decode() if self.registryValue('pasteEnable', msg.args[0]):