Oops, left a random.choice with the arguments of a random.shuffle.

This commit is contained in:
Jeremy Fincher 2003-09-18 05:58:24 +00:00
parent a16bb77cba
commit ab302e5742
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class Babelfish(callbacks.Privmsg):
allowEnglish = privmsgs.getArgs(args, needed=0, optional=1)
language = random.choice(babelfish.available_languages)
while not allowEnglish and language == 'English':
language = random.choice(babelfish.available_languages, 1)
language = random.choice(babelfish.available_languages)
irc.reply(msg, language)