Method: Cinch::Target#concretize
- Defined in:
- lib/cinch/target.rb
#concretize ⇒ Object
136 137 138 139 140 141 142 |
# File 'lib/cinch/target.rb', line 136 def concretize if @bot.isupport["CHANTYPES"].include?(@name[0]) @bot.channel_list.find_ensured(@name) else @bot.user_list.find_ensured(@name) end end |