mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Don't want to pass the Random kwarg on to irc.reply
This commit is contained in:
parent
8684864721
commit
204e30fc64
@ -254,6 +254,7 @@ class Markov(callbacks.Privmsg):
|
|||||||
def f(db):
|
def f(db):
|
||||||
minLength = self.registryValue('minChainLength', channel)
|
minLength = self.registryValue('minChainLength', channel)
|
||||||
maxTries = self.registryValue('maxAttempts', channel)
|
maxTries = self.registryValue('maxAttempts', channel)
|
||||||
|
Random = kwargs.pop('Random', None)
|
||||||
while maxTries > 0:
|
while maxTries > 0:
|
||||||
maxTries -= 1;
|
maxTries -= 1;
|
||||||
if word1 and word2:
|
if word1 and word2:
|
||||||
|
Loading…
Reference in New Issue
Block a user