Not everywhere String is a safe default ;)

configuration-in-hiera
Robert Gerus 2015-04-16 10:55:39 +02:00
parent 9ff54e0a06
commit f2b7c280ed
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ require 'open-uri'
require 'digest/md5'
require 'data_mapper'
require 'nokogiri'
require 'dm-postgres-adapter'
include EventMachine::IRC::Commands

2
run.rb
View File

@ -47,7 +47,7 @@ Client = Repost.new do
end
on :nick do
Config.lookup("channels").each do |channel|
Config.lookup("channels", []).each do |channel|
puts "joining #{channel}"
join channel
end