summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/config.rb b/lib/rbot/config.rb
index 5661b3d1..23a445f9 100644
--- a/lib/rbot/config.rb
+++ b/lib/rbot/config.rb
@@ -63,7 +63,7 @@ module Config
end
def get
return @manager.config[@key] if @manager.config.has_key?(@key)
- return @default
+ return default
end
alias :value :get
def set(value, on_change = true)