end
def listen(m)
+ return if m.sourcenick.nil?
# keep database up to date with who last said what
if m.kind_of?(PrivMessage)
return if m.private?
when "JOIN"
ret += "joining #{saw.where}"
when "QUIT"
- ret += "quiting IRC (#{saw.message})"
+ ret += "quitting IRC (#{saw.message})"
when "TOPIC"
ret += "changing the topic of #{saw.where} to #{saw.message}"
end