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