summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-10-28 08:36:50 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-10-28 08:36:50 +0000
commitcdd8cd43c4b26ee0d45aebaf3478e40df3dff37b (patch)
tree63cbcfa3c3a32d4c2708ebc897d4739f18986550 /data/rbot
parent666d854019fe336f69cfaeb9b7e7599aa04a3151 (diff)
Threat works again
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/threat.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/threat.rb b/data/rbot/plugins/threat.rb
index 3784dafe..bcfc8698 100644
--- a/data/rbot/plugins/threat.rb
+++ b/data/rbot/plugins/threat.rb
@@ -24,7 +24,7 @@ class ThreatPlugin < Plugin
green = "\x0303" # low
black = "\x0301" # default
- page = @bot.httputil.get URI.parse("http://www.dhs.gov/")
+ page = @bot.httputil.get_cached("http://www.dhs.gov/index.shtm")
if page =~ /\"Current National Threat Level is (.*?)\"/
state = $1