Use IRCRecvBatch in line_handler.py

This commit is contained in:
jesopo 2019-02-18 23:01:25 +00:00
parent 3bb917b619
commit cfdb48b3e7

View file

@ -615,8 +615,8 @@ class Module(ModuleManager.BaseModule):
batch_type = event["args"][1] batch_type = event["args"][1]
if modifier == "+": if modifier == "+":
event["server"].batches[identifier] = utils.irc.IRCBatch(identifier, event["server"].batches[identifier] = utils.irc.IRCRecvBatch(
batch_type, event["tags"]) identifier, batch_type, event["tags"])
else: else:
batch = event["server"].batches[identifier] batch = event["server"].batches[identifier]
del event["server"].batches[identifier] del event["server"].batches[identifier]