From 10b862da6cde3dcfa2a54f952d4794fa86923e56 Mon Sep 17 00:00:00 2001 From: dms Date: Sun, 22 Apr 2001 13:48:09 +0000 Subject: [PATCH] disabled literal if factoid is requested via /msg by author; use literal instead git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@459 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Factoids/Reply.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Factoids/Reply.pl b/src/Factoids/Reply.pl index dec2a12..ef582ef 100644 --- a/src/Factoids/Reply.pl +++ b/src/Factoids/Reply.pl @@ -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; } -- 2.39.2