# File lib/rbot/irc.rb, line 1781 def get_channel(name) return nil if name.nil_or_empty? idx = has_channel?(name) channels[idx] if idx end