[SimBot-commits] CVS: simbot/plugins weather.pl,1.109,1.110
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2006-03-20 12:48:30
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25673/plugins Modified Files: weather.pl Log Message: Fixed the URL for alerts. Index: weather.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/weather.pl,v retrieving revision 1.109 retrieving revision 1.110 diff -u -d -p -r1.109 -r1.110 --- weather.pl 10 Nov 2005 13:02:15 -0000 1.109 +++ weather.pl 20 Mar 2006 12:48:17 -0000 1.110 @@ -879,7 +879,7 @@ sub get_alerts { &debug(3, 'weather: Received forecast request from ' . $nick . " for $lat $long $geocode, in get_alerts\n"); - my $url = 'http://weather.gov/alerts/' . lc($state) . '.cap'; + my $url = 'http://www.weather.gov/alerts/' . lc($state) . '.cap'; my $request = HTTP::Request->new(GET => $url); $request->header('Accept-Encoding' => 'gzip, deflate'); $kernel->post('wxua' => 'request', 'got_alerts', |