summaryrefslogtreecommitdiff
path: root/lib/rbot/config.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-03-15 00:11:06 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-03-15 00:11:06 +0000
commit91100d59ee74594114ce35c0f19a9d386df77690 (patch)
tree26ab1890c9718574895ee30b59e4b7365d0380f4 /lib/rbot/config.rb
parentf9b784d241fbc90947f4282703b5b50d9c8d043b (diff)
config was not being saved after unsetting a value
Diffstat (limited to 'lib/rbot/config.rb')
-rw-r--r--lib/rbot/config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/config.rb b/lib/rbot/config.rb
index 2495a307..d04546c6 100644
--- a/lib/rbot/config.rb
+++ b/lib/rbot/config.rb
@@ -70,6 +70,7 @@ module Irc
end
def unset
@manager.config.delete(@key)
+ @manager.changed = true
end
# set string will raise ArgumentErrors on failed parse/validate