SF.net SVN: blootbot: [1292] branches/don/dpkg/src
Brought to you by:
timriker
From: <don...@us...> - 2006-06-14 01:53:40
|
Revision: 1292 Author: dondelelcaro Date: 2006-06-13 18:53:36 -0700 (Tue, 13 Jun 2006) ViewCVS: http://svn.sourceforge.net/blootbot/?rev=1292&view=rev Log Message: ----------- * Remove merge detrius from Reply.pl; stop breaking on 'you are' factoids. {thanks to stew} * Remove double lexical definition in CommandStubs.pl Modified Paths: -------------- branches/don/dpkg/src/CommandStubs.pl branches/don/dpkg/src/Factoids/Reply.pl Modified: branches/don/dpkg/src/CommandStubs.pl =================================================================== --- branches/don/dpkg/src/CommandStubs.pl 2006-06-11 02:51:43 UTC (rev 1291) +++ branches/don/dpkg/src/CommandStubs.pl 2006-06-14 01:53:36 UTC (rev 1292) @@ -772,7 +772,7 @@ } } - my $topstr = ''; + $topstr = ''; if (scalar @top) { $topstr = '. Top '.scalar(@top).': '.join(', ', @top); } Modified: branches/don/dpkg/src/Factoids/Reply.pl =================================================================== --- branches/don/dpkg/src/Factoids/Reply.pl 2006-06-11 02:51:43 UTC (rev 1291) +++ branches/don/dpkg/src/Factoids/Reply.pl 2006-06-14 01:53:36 UTC (rev 1292) @@ -125,13 +125,7 @@ $reply = "$lhs $mhs $result"; } - if ($reply =~ s/^\Q$who\E is/you are/i) { - # fix the person. - } else { - if ($reply =~ /^you are / or $reply =~ / you are /) { - return if ($addressed); - } - } + $reply =~ s/^\Q$who\E is/you are/i) { } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |