copypaste fail, duplicate "markov" command hook

This commit is contained in:
jesopo 2019-09-20 18:09:26 +01:00
parent 3dfee55d42
commit 781b6bf525

View file

@ -47,7 +47,7 @@ class Module(ModuleManager.BaseModule):
def markov(self, event): def markov(self, event):
self._markov_for(event["target"], event["stdout"], event["stderr"]) self._markov_for(event["target"], event["stdout"], event["stderr"])
@utils.hook("received.command.markov") @utils.hook("received.command.markovfor")
@utils.kwarg("min_args", 1) @utils.kwarg("min_args", 1)
@utils.kwarg("permission", "markovfor") @utils.kwarg("permission", "markovfor")
@utils.kwarg("help", "Generate a markov chain for a given channel") @utils.kwarg("help", "Generate a markov chain for a given channel")