diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-09-30 01:15:33 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-09-30 01:15:33 +0200 |
commit | 0457e6c4a61250d6cee1927b5b66095560b389b6 (patch) | |
tree | 0d54ef581a2723e307a30f455cceb5dd397f746a /lib/rbot | |
parent | 14db2532b7ef64707395cf21a7730abd8dcc4441 (diff) |
* more BDB leaking fixed
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/plugins.rb | 6 |
1 files 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 |