[SimBot-commits] CVS: simbot/plugins weather.pl,1.107,1.108
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-10-25 22:55:00
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10210/plugins Modified Files: weather.pl Log Message: snow snow snow snow snow snow SNOW! er... yeah. Anyway, SimBot will no longer consider "sb, SNOW!" a request for weather at the non-existant station SNOW. Index: weather.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/weather.pl,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -p -r1.107 -r1.108 --- weather.pl 24 Oct 2005 20:16:52 -0000 1.107 +++ weather.pl 25 Oct 2005 22:54:50 -0000 1.108 @@ -824,7 +824,7 @@ sub nlp_match { } } - if (defined $station) { + if (defined $station && $station !~ m/RAIN|SNOW|HAIL|WARM|COLD/) { &handle_user_command($kernel, $nick, $channel, " weather", $station); return 1; } else { |