aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/ops.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ops.py b/modules/ops.py
index 1cc2aff9..0f354526 100644
--- a/modules/ops.py
+++ b/modules/ops.py
@@ -7,6 +7,8 @@ from src import ModuleManager, utils
"Enable/disable command that highlights all online channel ops"))
class Module(ModuleManager.BaseModule):
@utils.hook("received.command.ops")
+ @utils.kwarg("channel_only", True)
+ @utils.kwarg("help", "Alert the ops in the current channel")
def ops(self, event):
if event["target"].get_setting("op-ping", False):
ops = []