INVEX numeric puts mask at index 2, not 3

This commit is contained in:
jesopo 2020-03-05 10:38:43 +00:00
parent 2dfaa7e162
commit e8388a28bd

View file

@ -35,7 +35,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.346")
def on_346(self, event):
mode = self._invex(event["server"])
self._mode_list_mask(event, mode, event["line"].args[3])
self._mode_list_mask(event, mode, event["line"].args[2])
@utils.hook("received.347")
def on_347(self, event):
self._mode_list_end(event, self._invex(event["server"]))