Project

General

Profile

« Previous | Next » 

Revision e75cca5b

Added by Marc Dequènes over 13 years ago

  • ID e75cca5bacfe5869dc590f2e26f65c4064216065

[fix] workaround config loaded too late (i need to find a better way to select code in the included modules)

View differences:

lib/cyborghood/cyborg.rb
bindtextdomain("cyborghood", {:path => Config::L10N_DIR, :charset => "UTF-8"})
def initialize
# load config
Config.load(self.human_name)
@config = Config.instance
@config.bot_id = self.class.name

Also available in: Unified diff