From cdd8cd43c4b26ee0d45aebaf3478e40df3dff37b Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 28 Oct 2006 08:36:50 +0000 Subject: [PATCH] Threat works again --- data/rbot/plugins/threat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5