Small fix for when we generate a markov chain with initial words.

This commit is contained in:
James Vega 2004-10-08 21:40:23 +00:00
parent f96e38f480
commit 28185185dd
1 changed files with 1 additions and 1 deletions

View File

@ -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)