From 545f21791ad804a52f6b7470403a1fa5a3976f5f Mon Sep 17 00:00:00 2001 From: Matthias H Date: Wed, 11 Mar 2015 09:51:52 +0100 Subject: [PATCH] plugins fix missing save for 1.9 --- lib/rbot/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 3ec52fd9..cf145c83 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -767,7 +767,7 @@ module Plugins def save(botmodule=nil) if botmodule botmodule.flush_registry - botmodule.save + botmodule.save if botmodule.respond_to? 'save' else delegate 'flush_registry' delegate 'save' -- 2.39.2