From 053359aaf159828bdd99bda01eb705c706e3a2ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Wed, 30 Jul 2014 23:17:31 +0200 Subject: [PATCH] Fix the `youtube' plugin I hadn't read the docs throughly. --- plugins/youtube | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):