[SimBot-commits] CVS: simbot simbot.pl,1.121,1.122
Status: Abandoned
Brought to you by:
kstange
|
From: Kevin S. <ks...@us...> - 2005-07-18 05:06:58
|
Update of /cvsroot/simbot/simbot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7903 Modified Files: simbot.pl Log Message: Yes, dropkick to oblivion Index: simbot.pl =================================================================== RCS file: /cvsroot/simbot/simbot/simbot.pl,v retrieving revision 1.121 retrieving revision 1.122 diff -u -d -p -r1.121 -r1.122 --- simbot.pl 20 Jun 2005 01:59:54 -0000 1.121 +++ simbot.pl 18 Jul 2005 05:06:45 -0000 1.122 @@ -992,7 +992,7 @@ sub delete_words { my (undef, $nick, $channel, undef, $word) = @_; my $max = option('chat', 'delete_usage_max'); $word = lc($word); - if (defined $word) { + if (defined $word && $word ne "") { my @deleted = &delete_word($word, $max); if (!@deleted && !defined $chat_words{$word}) { &send_message($channel, "$nick: I don't remember ever seeing that word before. It will be hard to forget it."); |