# File lib/net/yail/IRCBot.rb, line 56 def connect_socket @irc = Net::YAIL.new( :address => @irc_network, :port => @port, :username => @username, :realname => @realname, :nicknames => @nicknames, :silent => @silent, :loud => @loud ) # Simple hook for welcome to allow auto-joining of the channel @irc.prepend_handler :incoming_welcome, self.method(:welcome) add_custom_handlers end