From 053359aaf159828bdd99bda01eb705c706e3a2ca Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Wed, 30 Jul 2014 23:17:31 +0200 Subject: Fix the `youtube' plugin I hadn't read the docs throughly. --- plugins/youtube | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/youtube') 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): -- cgit v1.2.3-70-g09d2