aboutsummaryrefslogtreecommitdiff
path: root/modules/imgur.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/imgur.py')
-rw-r--r--modules/imgur.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/imgur.py b/modules/imgur.py
index 94172513..2cccaac6 100644
--- a/modules/imgur.py
+++ b/modules/imgur.py
@@ -28,7 +28,7 @@ class Module(ModuleManager.BaseModule):
text += "%s " % data["account_url"]
return text
- @utils.hook("command.regex", pattern=REGEX_IMAGE)
+ @utils.hook("command.regex", pattern=REGEX_IMAGE, ignore_action=False)
def _regex_image(self, event):
"""
:command: imgur
@@ -36,7 +36,7 @@ class Module(ModuleManager.BaseModule):
if event["target"].get_setting("auto-imgur", False):
event["stdout"].write(self._parse_image(event["match"].group(1)))
event.eat()
- @utils.hook("command.regex", pattern=REGEX_GALLERY)
+ @utils.hook("command.regex", pattern=REGEX_GALLERY, ignore_action=False)
def _regex_gallery(self, event):
"""
:command: imgur