X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fthreat.rb;h=dacd10584dd839ff545b8820dc01e6dc4627aa34;hb=1e841175468b3e0357ab278a226a237fe4d7687e;hp=bcfc8698cfff7928865f762d78135a05f1398279;hpb=cdd8cd43c4b26ee0d45aebaf3478e40df3dff37b;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/threat.rb b/data/rbot/plugins/threat.rb index bcfc8698..dacd1058 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_cached("http://www.dhs.gov/index.shtm") + page = @bot.httputil.get("http://www.dhs.gov/index.shtm") if page =~ /\"Current National Threat Level is (.*?)\"/ state = $1