# File rbot/ircbot.rb, line 707 def ontopic(m) @channels[m.channel] = IRCChannel.new(m.channel) unless(@channels.has_key?(m.channel)) @channels[m.channel].topic = m.topic if !m.topic.nil? @channels[m.channel].topic.timestamp = m.timestamp if !m.timestamp.nil? @channels[m.channel].topic.by = m.source if !m.source.nil? puts @channels[m.channel].topic end