pass server on labeled-response events

This commit is contained in:
jesopo 2020-02-13 23:57:02 +00:00
parent fc8e0f718c
commit 4f9d51533f

View file

@ -59,7 +59,7 @@ class Module(ModuleManager.BaseModule):
cached = server._label_cache.pop(label)
cached.events.on("labeled-response").call(line=cached.line,
responses=lines)
responses=lines, server=server)
for label, other_cached in server._label_cache.items():
other_cached.labels_since += 1