]> git.donarmstrong.com Git - infobot.git/commitdiff
disabled literal if factoid is requested via /msg by author; use literal
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 22 Apr 2001 13:48:09 +0000 (13:48 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 22 Apr 2001 13:48:09 +0000 (13:48 +0000)
instead

git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@459 c11ca15a-4712-0410-83d8-924469b57eb5

src/Factoids/Reply.pl

index dec2a12357b8f3316c64ad2431fab49fb407b3b6..ef582ef75ab45bfae8db502cf745100208da0b82 100644 (file)
@@ -51,7 +51,7 @@ sub getReply {
     my $fauthor = &dbGet("factoids", "factoid_key", $message, "created_by");
     ### we need non-evaluating regex like in factoid sar.
     if ($msgType =~ /^private$/) {
-       if (defined $fauthor and $fauthor =~ /^\Q$who\E\!/i) {
+       if (0 and defined $fauthor and $fauthor =~ /^\Q$who\E\!/i) {
            &status("Reply.pl: author requested own factoid in private; literal!");
            $literal = 1;
        }