mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +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):
|
def ban(self, rest, lineno):
|
||||||
self._checkId()
|
self._checkId()
|
||||||
parts = rest.split(maxsplit=2)
|
parts = rest.split(None, 2)
|
||||||
if len(parts) == 2: # Old format
|
if len(parts) == 2: # Old format
|
||||||
(pattern, expiration) = parts
|
(pattern, expiration) = parts
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user