aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/channel_op.py2
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))