Fix previous commit.

This commit is contained in:
Valentin Lorentz 2015-05-23 21:18:50 +02:00
parent 8ed5522da0
commit 394f1554f7
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ class IrcChannelCreator(Creator):
def ban(self, rest, lineno):
self._checkId()
parts = rest.split(maxsplit=2)
parts = rest.split(None, 2)
if len(parts) == 2: # Old format
(pattern, expiration) = parts
else: