Method: Cinch::IRC#send_login
- Defined in:
- lib/cinch/irc.rb
#send_login
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
136 137 138 139 140 |
# File 'lib/cinch/irc.rb', line 136 def send_login send "PASS #{@bot.config.password}" if @bot.config.password send "NICK #{@bot.generate_next_nick!}" send "USER #{@bot.config.user} 0 * :#{@bot.config.realname}" end |