# File lib/rbot/irc.rb, line 1773 def has_channel?(name) return false if name.nil_or_empty? channel_names.index(name.irc_downcase(casemap)) end