From bf850592df541c4b4845d1e461c15178a0947cc4 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sun, 29 Jul 2012 17:53:56 -0500 Subject: [PATCH] Markov: bugfix in the anti-address chaining --- modules/Markov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Markov.py b/modules/Markov.py index 03a6a87..675dad0 100644 --- a/modules/Markov.py +++ b/modules/Markov.py @@ -433,7 +433,7 @@ class Markov(Module): # if the first word is "foo:", start with the second addressing_suffixes = [':', ','] - if gen_words[0][-1] in addressing_suffixes: + if new_chain_words[0][-1] in addressing_suffixes: gen_words += new_chain_words[1:] self.log.debug("appending following anti-address " \ "new_chain_words: {0:s}".format(new_chain_words[1:]))