aboutsummaryrefslogtreecommitdiff
path: root/modules/github
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-16 18:40:25 +0100
committerGravatar jesopo2019-06-16 18:40:25 +0100
commit98e1202c780faf7b3fab1c49e87581a857376d5c (patch)
tree94b0259aa64363566fd07ee89c0e3ba7a88cfee8 /modules/github
parentDon't fail get_kwarg when self.kwarg[name] is falsey (diff)
signature
Allow command.regex hooks to opt-in to being triggered from a /me
closes #68
Diffstat (limited to 'modules/github')
-rw-r--r--modules/github/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py
index 7f3ff8f7..3dee37d5 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -252,7 +252,7 @@ class Module(ModuleManager.BaseModule):
else:
return True
- @utils.hook("command.regex")
+ @utils.hook("command.regex", ignore_action=False)
def url_regex(self, event):
"""
:command: github
@@ -272,7 +272,7 @@ class Module(ModuleManager.BaseModule):
event["stdout"].hide_prefix()
event["stdout"].write(result)
- @utils.hook("command.regex")
+ @utils.hook("command.regex", ignore_action=False)
def ref_regex(self, event):
"""
:command: github