mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Fix previous commit.
This commit is contained in:
parent
8ed5522da0
commit
394f1554f7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user