]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/threat.rb
Two plugins had the executable property set. Reset it
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / threat.rb
index 3784dafeaa80727899cce145e97dbdd5f5dc8602..bcfc8698cfff7928865f762d78135a05f1398279 100644 (file)
@@ -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