examples/echo_bot_celluloid.rb in net-irc2-0.0.13 vs examples/echo_bot_celluloid.rb in net-irc2-0.0.14
- old
+ new
@@ -14,10 +14,10 @@
class EchoBot < Net::IRC::Client
include Celluloid::IO
def initialize(addr,port,opt)
opt[:tcp_socket] = Celluloid::IO::TCPSocket
super
- start
+ start.async
end
def on_rpl_welcome(m)
post JOIN, "#demo"
super