:desc => "Whether to display links from the text of a feed item.")
# Make an 'unique' ID for a given item, based on appropriate bot options
- # Currently only suppored is bot.config['rss.show_updated']: when false,
+ # Currently only supported is bot.config['rss.show_updated']: when false,
# only the guid/link is accounted for.
def make_uid(item)
attr_reader :socket
# bot's object registry, plugins get an interface to this for persistant
- # storage (hash interface tied to a bdb file, plugins use Accessors to store
+ # storage (hash interface tied to a db file, plugins use Accessors to store
# and restore objects in their own namespaces.)
attr_reader :registry
# bot's plugins. This is an instance of class Plugins
attr_reader :plugins
- # bot's httputil help object, for fetching resources via http. Sets up
+ # bot's httputil helper object, for fetching resources via http. Sets up
# proxies etc as defined by the bot configuration/environment
attr_accessor :httputil
if @config['core.run_as_daemon']
$daemonize = true
end
+
case @config["core.db"]
when "bdb"
require 'rbot/registry/bdb'
when "tc"
- require 'rbot/registry/tc'
+ require 'rbot/registry/tc'
else
raise _("Unknown DB adaptor: %s") % @config["core.db"]
end
begin
require 'bdb'
rescue LoadError
- fatal "rbot couldn't load the bdb module, perhaps you need to install it? try: http://www.ruby-lang.org/en/raa-list.rhtml?name=bdb"
+ fatal "rbot couldn't load the bdb module, perhaps you need to install it? try http://www.ruby-lang.org/en/raa-list.rhtml?name=bdb or http://github.com/knu/ruby-bdb"
rescue Exception => e
fatal "rbot couldn't load the bdb module: #{e.pretty_inspect}"
end