typo, 'preix' -> 'prefix'

This commit is contained in:
jesopo 2019-05-21 15:39:54 +01:00
parent 73c3068a8d
commit 451d0c5928

View file

@ -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)