From 781b6bf5250adc37c410a59ec152b91d827d0365 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 20 Sep 2019 18:09:26 +0100 Subject: [PATCH] copypaste fail, duplicate "markov" command hook --- modules/markov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/markov.py b/modules/markov.py index 2a93ffc7..3383da6b 100644 --- a/modules/markov.py +++ b/modules/markov.py @@ -47,7 +47,7 @@ class Module(ModuleManager.BaseModule): def markov(self, event): 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("permission", "markovfor") @utils.kwarg("help", "Generate a markov chain for a given channel")