X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Ftranslator.rb;h=0e09cb4855e717dd81473ead737443331570accd;hb=16336b4a240a4265d1f2df1e30d7b68d3a924287;hp=ad9c431c91e5e430426f28c544d448e69005db69;hpb=15a64e8a1f63ba01e3e873579a8496d2aa1d735a;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git 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)