there's no 1
index arg for a batch-end
This commit is contained in:
parent
6a4852d2b4
commit
82e79ac4e5
1 changed files with 1 additions and 1 deletions
|
@ -184,9 +184,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
def batch(self, event):
|
def batch(self, event):
|
||||||
identifier = event["args"][0]
|
identifier = event["args"][0]
|
||||||
modifier, identifier = identifier[0], identifier[1:]
|
modifier, identifier = identifier[0], identifier[1:]
|
||||||
batch_type = event["args"][1]
|
|
||||||
|
|
||||||
if modifier == "+":
|
if modifier == "+":
|
||||||
|
batch_type = event["args"][1]
|
||||||
event["server"].batches[identifier] = utils.irc.IRCRecvBatch(
|
event["server"].batches[identifier] = utils.irc.IRCRecvBatch(
|
||||||
identifier, batch_type, event["tags"])
|
identifier, batch_type, event["tags"])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue