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]
if modifier == "+":
event["server"].batches[identifier] = utils.irc.IRCBatch(identifier,
batch_type, event["tags"])
event["server"].batches[identifier] = utils.irc.IRCRecvBatch(
identifier, batch_type, event["tags"])
else:
batch = event["server"].batches[identifier]
del event["server"].batches[identifier]