From: dms Date: Tue, 12 Sep 2000 15:33:14 +0000 (+0000) Subject: Another regex topic fix X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3f3a4b2b5e518037023a0c67bcb86fe2437ec1ca;p=infobot.git Another regex topic fix git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@86 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Modules/Topic.pl b/blootbot/src/Modules/Topic.pl index 747ca27..093bdf5 100644 --- a/blootbot/src/Modules/Topic.pl +++ b/blootbot/src/Modules/Topic.pl @@ -41,7 +41,7 @@ sub topicDecipher { $owner = $2; } - if (grep /^\Q$subtopic||$owner\E$/, @results) { + if (grep /^\Q$subtopic\E\|\|\Q$owner\E$/, @results) { &DEBUG("topic: we have found a dupe in the topic, not adding."); next; }