aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-21 15:39:54 +0100
committerGravatar jesopo2019-05-21 15:39:54 +0100
commit451d0c59285303db0881bc47a53be65dd6030c3c (patch)
tree2e9f2f01c2ad881fdb84c351dc1a45c881299614
parent`event["channel"]` -> `event["target"]` (diff)
signature
typo, 'preix' -> 'prefix'
-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 0cbb9267..33bc531a 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -242,7 +242,7 @@ class Module(ModuleManager.BaseModule):
return
if result:
if event["target"].get_setting("github-hide-prefix", False):
- event["stdout"].hide_preix()
+ event["stdout"].hide_prefix()
event["stdout"].write(result)
@utils.hook("command.regex")
@@ -259,7 +259,7 @@ class Module(ModuleManager.BaseModule):
return
if result:
if event["target"].get_setting("github-hide-prefix", False):
- event["stdout"].hide_preix()
+ event["stdout"].hide_prefix()
event["stdout"].write(result)
@utils.hook("received.command.ghwebhook", min_args=1, channel_only=True)