Method: Cinch::IRC#send_cap_req
- Defined in:
- lib/cinch/irc.rb
#send_cap_req
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.
114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/cinch/irc.rb', line 114 def send_cap_req caps = [:"away-notify", :"multi-prefix", :sasl] & @network.capabilities # InspIRCd doesn't respond to empty REQs, so send an END in that # case. if caps.size > 0 send "CAP REQ :" + caps.join(" ") else send_cap_end end end |