diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-14 22:04:38 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-14 22:04:38 +0000 |
commit | 5ef7f7f853215ee2bf64a7b665c6f696b7bdf4b1 (patch) | |
tree | 95c6a33c85beae74e6728239c686ae7b888882de /lib | |
parent | d29df50ddaf32536b105decefb135a0b86ee937f (diff) |
Reset configuration changed status after saving successfully
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/config.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/config.rb b/lib/rbot/config.rb index fd745397..2495a307 100644 --- a/lib/rbot/config.rb +++ b/lib/rbot/config.rb @@ -269,6 +269,7 @@ module Irc debug "Officializing conf.yaml ..." File.rename("#{@bot.botclass}/conf.yaml.new", "#{@bot.botclass}/conf.yaml") + @changed = false rescue => e error "failed to write configuration file conf.yaml! #{$!}" error "#{e.class}: #{e}" |