Forgot a Raise=True.

This commit is contained in:
Jeremy Fincher 2004-12-07 04:18:22 +00:00
parent 6e712bb3db
commit 1149ff65ff

View File

@ -181,7 +181,7 @@ class Babelfish(callbacks.Privmsg):
allowEnglish = True allowEnglish = True
languages = self.registryValue('languages', msg.args[0]) languages = self.registryValue('languages', msg.args[0])
if not languages: if not languages:
irc.error('I can\'t speak any other languages.') irc.error('I can\'t speak any other languages.', Raise=True)
language = random.choice(languages) language = random.choice(languages)
while not allowEnglish and language == 'English': while not allowEnglish and language == 'English':
language = random.choice(languages) language = random.choice(languages)