Don't want to pass the Random kwarg on to irc.reply

This commit is contained in:
James Vega 2005-01-04 16:34:49 +00:00
parent 8684864721
commit 204e30fc64
1 changed files with 1 additions and 0 deletions

View File

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