From 91100d59ee74594114ce35c0f19a9d386df77690 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 15 Mar 2007 00:11:06 +0000 Subject: config was not being saved after unsetting a value --- lib/rbot/config.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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 -- cgit v1.2.3