From ab302e57429a92660ae5585782cafdb694d28eb1 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 18 Sep 2003 05:58:24 +0000 Subject: [PATCH] Oops, left a random.choice with the arguments of a random.shuffle. --- plugins/Babelfish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Babelfish.py b/plugins/Babelfish.py index b07ea33cf..5956e419c 100644 --- a/plugins/Babelfish.py +++ b/plugins/Babelfish.py @@ -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)