diff options
Diffstat (limited to 'data/rbot/plugins/translator.rb')
-rw-r--r-- | data/rbot/plugins/translator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/translator.rb b/data/rbot/plugins/translator.rb index ad9c431c..0e09cb48 100644 --- a/data/rbot/plugins/translator.rb +++ b/data/rbot/plugins/translator.rb @@ -39,7 +39,7 @@ class Translator @cache = cache end - + # whether the translator supports this direction def support?(from, to) from != to && @directions[from].include?(to) @@ -316,7 +316,7 @@ class TranslatorPlugin < Plugin end def update_default - @default_translators = bot.config['translator.default_list'] & @translators.keys + @default_translators = bot.config['translator.default_list'] & @translators.keys end def cmd_translator(m, params) |