privmsg (WeatherPlugin)

    # File rbot/plugins/weather.rb, line 37
      def privmsg(m)
        case m.params
        when nil
          if @registry.has_key?(m.sourcenick)
            where = @registry[m.sourcenick]
            describe(m,where)
          else
            m.reply "I don't know where #{m.sourcenick} is!"
          end
        when (/^(\S{4})$/)
          where = $1
          @registry[m.sourcenick] = where
          describe(m,where)
        end
      end