summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/weather.rb2
1 files changed, 1 insertions, 1 deletions
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 /<table/
+ when /Current<\/a>/
data = ""
xml.scan(/<table border.*?>(.*?)<\/table>/m).each do |match|
data += wu_weather_filter(match.first)