From 60c45f4da1d3a299d61698cbf7a1cdd232e6133c Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 8 Nov 2007 23:57:53 +0000 Subject: weather plugin: fix detection of weather page --- data/rbot/plugins/weather.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/weather.rb b/data/rbot/plugins/weather.rb index 47ab1ca2..4ff92769 100644 --- a/data/rbot/plugins/weather.rb +++ b/data/rbot/plugins/weather.rb @@ -192,7 +192,7 @@ class WeatherPlugin < Plugin m.reply "couldn't retrieve weather information, sorry" when /City Not Found/ m.reply "no such location found (#{where})" - when // data = "" xml.scan(/
(.*?)<\/table>/m).each do |match| data += wu_weather_filter(match.first) -- cgit v1.2.3