Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lian committed Jun 7, 2011
1 parent f0db9e1 commit fee0efa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions em-ircd.rb
Expand Up @@ -1128,7 +1128,7 @@ def destroy_channel(channel, reason='OM NOM NOM')

$config['welcome_channel_ignore'] ||= []
$config['welcome_channel_ignore'] =
$config['welcome_channel_ignore'].map{|i| Regex.new(i) }
$config['welcome_channel_ignore'].map{|i| Regexp.new(i) }


EM.run do
Expand All @@ -1139,10 +1139,10 @@ def destroy_channel(channel, reason='OM NOM NOM')
server_sockets = ($config['listen'] || []).map{|i|
if i['ssl']
EM.start_server(i['interface'], i['port'].to_i, IRC::Connection_SSL, server)
puts "started em-ircd server at: %s:%s" % i.values_at('interface', 'port')
puts "started ssl em-ircd server at: %s:%s" % i.values_at('interface', 'port')
else
EM.start_server(i['interface'], i['port'].to_i, IRC::Connection, server)
puts "started ssl em-ircd server at: %s:%s" % i.values_at('interface', 'port')
puts "started em-ircd server at: %s:%s" % i.values_at('interface', 'port')
end
}

Expand Down

0 comments on commit fee0efa

Please sign in to comment.