server -> event["server"]

This commit is contained in:
jesopo 2019-05-06 17:13:09 +01:00
parent 8312efcc1c
commit a368bc018a

View file

@ -375,7 +375,7 @@ class Module(ModuleManager.BaseModule):
event["stderr"].write("I'm already ignoring '%s' for %s" %
(command, str(event["server"])))
else:
server.set_setting(setting, True)
event["server"].set_setting(setting, True)
event["stdout"].write("Now ignoring '%s' for %s" %
(command, str(event["server"])))