diff options
| author | 2020-01-26 16:08:35 +0000 | |
|---|---|---|
| committer | 2020-01-26 16:08:35 +0000 | |
| commit | d41aa7a6c2b255dc449626f244bb106d3a36a4ba (patch) | |
| tree | 8c3521e661ce8953e4f000d522b5d07f3160a508 | |
| parent | find "word" type, not cuser (because i can be 'user') (diff) | |
| signature | ||
we should be checking if there are no flags specified
| -rw-r--r-- | modules/channel_op.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py index 0205b22a..4bba6d4c 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -259,7 +259,7 @@ class Module(ModuleManager.BaseModule): current_flags = event["spec"][0].get_user_setting(target.get_id(), "flags", "") - if event["spec"][2]: + if not event["spec"][2]: current_flags_str = ("+%s" % current_flags) if current_flags else "" event["stdout"].write("Flags for %s: %s" % (target, current_flags_str)) |
