From 349371e4c13e619b787fb4ab5a3dfcde95fd355e Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 21 Apr 2014 05:16:29 -0700 Subject: Persistent storing of admin list (allows reload). --- core/store.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'core/store.rb') diff --git a/core/store.rb b/core/store.rb index 4d5e9a7..856acee 100644 --- a/core/store.rb +++ b/core/store.rb @@ -6,6 +6,7 @@ module Dinobot attr_accessor :data def initialize(file) + Dir.mkdir(File.dirname(file)) unless Dir.exist?(File.dirname(file)) @store = PStore.new(file, true) read -- cgit v1.2.3-70-g09d2