[SimBot-commits] CVS: simbot/plugins weather.pl,1.101,1.102
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-07-23 03:01:23
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22119/plugins Modified Files: weather.pl Log Message: Wow. Stupid logic bug. (!~ != =~) Cloud cover should now properly be shown when it isn't fair skies. Index: weather.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/weather.pl,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -p -r1.101 -r1.102 --- weather.pl 21 Jul 2005 23:46:32 -0000 1.101 +++ weather.pl 23 Jul 2005 03:01:14 -0000 1.102 @@ -511,7 +511,7 @@ sub got_metar { } } - if($worst_clouds =~ m/fair skies/ || !defined $wxhash->{'sky_conditions'}) { + if($worst_clouds !~ m/fair skies/ || !defined $wxhash->{'sky_conditions'}) { if($worst_clouds =~ m/scattered|broken/) { $worst_clouds .= ' clouds'; } |