projects
/
infobot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d2bab
)
disabled literal if factoid is requested via /msg by author; use literal
author
dms
<dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 22 Apr 2001 13:48:09 +0000
(13:48 +0000)
committer
dms
<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
patch
|
blob
|
history
diff --git
a/src/Factoids/Reply.pl
b/src/Factoids/Reply.pl
index dec2a12357b8f3316c64ad2431fab49fb407b3b6..ef582ef75ab45bfae8db502cf745100208da0b82 100644
(file)
--- 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;
}