Module: IIRC::OperUp

Defined in:
lib/iirc/modules/oper_up.rb

Instance Method Summary collapse

Instance Method Details

#configure_oper_upObject (private)



8
9
10
# File 'lib/iirc/modules/oper_up.rb', line 8

def configure_oper_up
  on :'001', :oper_up!
end

#oper_up!Object



3
4
5
# File 'lib/iirc/modules/oper_up.rb', line 3

def oper_up!
  self << "OPER #{ENV['IRC_OPER']}" if ENV['IRC_OPER']
end