diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-01-01 19:03:27 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-01-01 19:03:27 +0100 |
commit | 09e925d6956cd7431a3466d8b659a7207e029617 (patch) | |
tree | a9f3d3db23a71365df8c9ff9e616b879de991928 /bot.rb | |
parent | 9d1555604557b7ca385869a6fcebaf4dc0665059 (diff) | |
download | lain-09e925d6956cd7431a3466d8b659a7207e029617.tar lain-09e925d6956cd7431a3466d8b659a7207e029617.zip |
Add Fortune module
Diffstat (limited to 'bot.rb')
-rw-r--r-- | bot.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,9 +17,9 @@ module Lain $stderr.puts 'Loading modules...' - Config::Modules.each { |mod| + Config::Modules.each { |mod, cfg| require_relative "modules/#{mod}" - @modules[mod] = Modules.const_get(mod).new self + @modules[mod] = Modules.const_get(mod).new(self, cfg) } $stderr.puts 'Connecting...' |