From 80d7629fda21fc1e0e110e1a645b37fffa830c4c Mon Sep 17 00:00:00 2001 From: dms Date: Fri, 23 Feb 2001 12:25:20 +0000 Subject: [PATCH] now use "or" instead of "and" operator for "rename". git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@415 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Process.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blootbot/src/Process.pl b/blootbot/src/Process.pl index 69711c0..600729d 100644 --- a/blootbot/src/Process.pl +++ b/blootbot/src/Process.pl @@ -518,7 +518,8 @@ sub FactoidStuff { my $result = &getFactoid($from); if (defined $result) { my $author = &getFactInfo($from, "created_by"); - if (&IsFlag("m") and $author =~ /^\Q$who\E\!/i) { + + if (&IsFlag("m") or $author =~ /^\Q$who\E\!/i) { &msg($who, "It's not yours to modify."); return; } -- 2.39.5