]> git.donarmstrong.com Git - infobot.git/commitdiff
Another regex topic fix
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 12 Sep 2000 15:33:14 +0000 (15:33 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 12 Sep 2000 15:33:14 +0000 (15:33 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@86 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/Topic.pl

index 747ca2725afde6071328439227428547d62890e7..093bdf533ef763a6779e4514f5aa0cfb17500108 100644 (file)
@@ -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;
     }