summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot')
-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 d04546c6..a1762988 100644
--- a/lib/rbot/config.rb
+++ b/lib/rbot/config.rb
@@ -71,6 +71,7 @@ module Irc
def unset
@manager.config.delete(@key)
@manager.changed = true
+ @on_change.call(@manager.bot, value) if @on_change
end
# set string will raise ArgumentErrors on failed parse/validate