diff options
author | Matthias H <apoc@sixserv.org> | 2014-02-18 19:25:17 +0100 |
---|---|---|
committer | Matthias H <apoc@sixserv.org> | 2014-02-18 19:25:17 +0100 |
commit | a043bcf9dd268cec5c9bdfc09dab7fcb0fc33644 (patch) | |
tree | 913969e4e89eb6d29c696e751520953924df125c /lib/rbot/plugins.rb | |
parent | aa073ca098a00d9414b8190b3bdbd795afc8af5b (diff) |
removes bdb&tc registry; adds dbm registry
This removes the existing registries, ruby-bdb (Berkeley DB) and
tokyocabinet, instead it creates a new registry based on ruby
DBM.
Ruby-bdb has long since been abandoned in favor for rubys DBM
and tokyocabinet also has been ceased development since
2011 (for kyotocabinet).
Diffstat (limited to 'lib/rbot/plugins.rb')
-rw-r--r-- | lib/rbot/plugins.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 493f177f..a05a5b8f 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -573,7 +573,6 @@ module Plugins return :loaded rescue Exception => err # rescue TimeoutError, StandardError, NameError, LoadError, SyntaxError => err - raise if err.kind_of? DBFatal error report_error("#{desc}#{fname} load failed", err) bt = err.backtrace.select { |line| line.match(/^(\(eval\)|#{fname}):\d+/) @@ -956,7 +955,6 @@ 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?(DBFatal) end } else @@ -972,7 +970,6 @@ 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?(DBFatal) end end } @@ -1002,7 +999,6 @@ 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?(DBFatal) end debug "Successfully delegated #{m.inspect}" return true |