From 0457e6c4a61250d6cee1927b5b66095560b389b6 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 30 Sep 2010 01:15:33 +0200 Subject: [PATCH] * more BDB leaking fixed --- lib/rbot/plugins.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 55733cee..05855b41 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -941,7 +941,7 @@ module Plugins rescue Exception => err raise if err.kind_of?(SystemExit) error report_error("#{p.botmodule_class} #{p.name} #{method}() failed:", err) - raise if err.kind_of?(BDB::Fatal) + raise if err.kind_of?(DBFatal) end } else @@ -957,7 +957,7 @@ module Plugins rescue Exception => err raise if err.kind_of?(SystemExit) error report_error("#{p.botmodule_class} #{p.name} #{method}() failed:", err) - raise if err.kind_of?(BDB::Fatal) + raise if err.kind_of?(DBFatal) end end } @@ -987,7 +987,7 @@ module Plugins rescue Exception => err raise if err.kind_of?(SystemExit) error report_error("#{p.botmodule_class} #{p.name} privmsg() failed:", err) - raise if err.kind_of?(BDB::Fatal) + raise if err.kind_of?(DBFatal) end debug "Successfully delegated #{m.inspect}" return true -- 2.39.2