Markov: refer to the actual target from a chatter target when shutting up

This commit is contained in:
Brian S. Stephan 2011-07-01 18:42:04 -05:00
parent 9abdc98487
commit a51f0cb54c
1 changed files with 1 additions and 1 deletions

View File

@ -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."""