mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Forgot a Raise=True.
This commit is contained in:
parent
6e712bb3db
commit
1149ff65ff
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user