Fix the `youtube' plugin

I hadn't read the docs throughly.
This commit is contained in:
Přemysl Eric Janouch 2014-07-30 23:17:31 +02:00
parent 154163ea0a
commit 053359aaf1
1 changed files with 1 additions and 1 deletions

View File

@ -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):