event doesn't exist in _quiet_method()

This commit is contained in:
jesopo 2020-01-26 16:10:30 +00:00
parent d41aa7a6c2
commit cc178c841d

View file

@ -199,7 +199,7 @@ class Module(ModuleManager.BaseModule):
self._quiet(event["server"], False, event["spec"])
def _quiet(self, server, add, spec):
quiet_method = self._quiet_method(event["server"])
quiet_method = self._quiet_method(server)
if quiet_method == None:
raise utils.EventError(NO_QUIETS)