summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/lart.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/lart.rb')
-rw-r--r--data/rbot/plugins/lart.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/lart.rb b/data/rbot/plugins/lart.rb
index bf656027..c7200cab 100644
--- a/data/rbot/plugins/lart.rb
+++ b/data/rbot/plugins/lart.rb
@@ -57,6 +57,7 @@ class LartPlugin < Plugin
#{{{
def save
Dir.mkdir("#{@bot.botclass}/lart") if not FileTest.directory? "#{@bot.botclass}/lart"
+ # TODO implement safe saving here too
File.open("#{@bot.botclass}/lart/larts", "w") { |file|
file.puts @larts
}