summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/core/utils/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb
index 4613dada..c2b7d7b1 100644
--- a/lib/rbot/core/utils/utils.rb
+++ b/lib/rbot/core/utils/utils.rb
@@ -345,7 +345,7 @@ module ::Irc
end
- @@safe_save_dir = nil
+ @@safe_save_dir = nil unless defined?(@@safe_save_dir)
def Utils.set_safe_save_dir(str)
@@safe_save_dir = str.dup
end