diff --git a/plugins/youtube b/plugins/youtube index bbd573c..48fa824 100755 --- a/plugins/youtube +++ b/plugins/youtube @@ -18,7 +18,7 @@ sys.stdout = io.TextIOWrapper (sys.__stdout__.buffer, encoding = 'iso8859-1', newline = '\r\n', line_buffering = True) re_msg = re.compile ('(?::([^! ]*)(?:!([^@]*)@([^ ]*))? +)?' - '([^ ]+)(?: +(.*))?\n$') + '([^ ]+)(?: +(.*))?\r\n$') re_args = re.compile (':?((?<=:).*|[^ ]+) *') def parse (line):