listen (UrlPlugin)

    # File rbot/plugins/url.rb, line 11
      def listen(m)
        return unless m.kind_of?(PrivMessage)
        return if m.address?
        if m.message =~ /http:\/\//
          if m.message =~ /(http:\/\/.*?)(?:\s+|$)/
            url = Url.new(m.target, m.sourcenick, Time.new, $1)
            list = @registry[m.target]
            if list.length > 50
              list.pop
            end
            puts "storing url #{url.url}"
            list.unshift url
            @registry[m.target] = list
          end
        end
      end