From 204e30fc6488025fff16bfd8612b091bbd993515 Mon Sep 17 00:00:00 2001 From: James Vega Date: Tue, 4 Jan 2005 16:34:49 +0000 Subject: [PATCH] Don't want to pass the Random kwarg on to irc.reply --- plugins/Markov.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Markov.py b/plugins/Markov.py index 0a06be67b..762a45f96 100644 --- a/plugins/Markov.py +++ b/plugins/Markov.py @@ -254,6 +254,7 @@ class Markov(callbacks.Privmsg): def f(db): minLength = self.registryValue('minChainLength', channel) maxTries = self.registryValue('maxAttempts', channel) + Random = kwargs.pop('Random', None) while maxTries > 0: maxTries -= 1; if word1 and word2: