From 28185185dd48a68fd1cbd11e4eac7c19db7fe3b1 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 8 Oct 2004 21:40:23 +0000 Subject: [PATCH] Small fix for when we generate a markov chain with initial words. --- plugins/Markov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Markov.py b/plugins/Markov.py index ff0e618e5..0df4e8f8d 100644 --- a/plugins/Markov.py +++ b/plugins/Markov.py @@ -314,7 +314,7 @@ class Markov(callbacks.Privmsg): return words.append(follower) if givenArgs: - irc.reply(' '.join(words)) + irc.reply(' '.join(words[:-1])) else: irc.reply(' '.join(resp)) self.q.enqueue(markov)