summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/salut.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/salut.rb b/data/rbot/plugins/salut.rb
index b8d9c4d7..1ad6540a 100644
--- a/data/rbot/plugins/salut.rb
+++ b/data/rbot/plugins/salut.rb
@@ -175,8 +175,8 @@ class SalutPlugin < Plugin
end
def save_lang(lang, val)
- file = "#{@bot.botclass}/salut/salut-#{lang}"
- Utils.safe_save(file) { |file|
+ fn = "#{@bot.botclass}/salut/salut-#{lang}"
+ Utils.safe_save(fn) { |file|
file.puts val.to_yaml
}
end