_check_flags() when flags are changed
This commit is contained in:
parent
60ced118a0
commit
1edb11ae1f
1 changed files with 3 additions and 0 deletions
|
@ -276,6 +276,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
new_flags_str = "".join(new_flags)
|
new_flags_str = "".join(new_flags)
|
||||||
event["target"].set_user_setting(target.get_id(), "flags",
|
event["target"].set_user_setting(target.get_id(), "flags",
|
||||||
new_flags_str)
|
new_flags_str)
|
||||||
|
|
||||||
|
self._check_flags(event["target"], target)
|
||||||
|
|
||||||
event["stdout"].write("Set flags for %s to +%s" % (
|
event["stdout"].write("Set flags for %s to +%s" % (
|
||||||
target.nickname, new_flags_str))
|
target.nickname, new_flags_str))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue