]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Reply.pl
* Remove merge detrius from Reply.pl; stop breaking on 'you are'
[infobot.git] / src / Factoids / Reply.pl
index fb69ebffed122dbe3f0c020bf3e1ae44fa732101..38f65a083db6d8c534d9716887cdc629c953a236 100644 (file)
@@ -125,13 +125,7 @@ sub getReply {
                $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) {
        }
     }