From a51f0cb54c6351744bb1a676763b3082511572ad Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 1 Jul 2011 18:42:04 -0500 Subject: [PATCH] Markov: refer to the actual target from a chatter target when shutting up --- modules/Markov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Markov.py b/modules/Markov.py index 54e5468..4e085df 100644 --- a/modules/Markov.py +++ b/modules/Markov.py @@ -358,7 +358,7 @@ class Markov(Module): self.shut_up = True targets = self._get_chatter_targets() for t in targets: - self.sendmsg(self.connection, t, 'shutting up for 30 seconds due to last 30 seconds of activity') + self.sendmsg(self.connection, t['target'], 'shutting up for 30 seconds due to last 30 seconds of activity') def _learn_line(self, line, target): """Create Markov chains from the provided line."""