diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/alias.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/alias.rb b/data/rbot/plugins/alias.rb index 289ef1ad..0a6e5869 100644 --- a/data/rbot/plugins/alias.rb +++ b/data/rbot/plugins/alias.rb @@ -64,7 +64,7 @@ class AliasPlugin < Plugin end def save - FileUtils.mkdir_p(@data_path) + FileUtils.mkdir_p(@data_path) unless FileTest.directory?(@data_path) Utils.safe_save(@data_file) {|f| f.write @aliases.to_yaml} end |