From: Giuseppe Bilotta Date: Wed, 29 Sep 2010 23:15:33 +0000 (+0200) Subject: * more BDB leaking fixed X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0457e6c4a61250d6cee1927b5b66095560b389b6;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git * more BDB leaking fixed --- 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