From 3fe189adee909d735370f37d28ad6c96d47fb2e3 Mon Sep 17 00:00:00 2001 From: dms Date: Sat, 9 Mar 2002 14:16:09 +0000 Subject: [PATCH] - "unless if" typo! found by git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@555 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Modules/Debian.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blootbot/src/Modules/Debian.pl b/blootbot/src/Modules/Debian.pl index 7ff7708..8cd663e 100644 --- a/blootbot/src/Modules/Debian.pl +++ b/blootbot/src/Modules/Debian.pl @@ -243,9 +243,9 @@ sub searchContents { while () { last if ($found > 100); - next unless if (/^\.?\/?(.*?)[\t\s]+(\S+)\n$/); - + next unless (/^\.?\/?(.*?)[\t\s]+(\S+)\n$/); my ($file,$package) = ("/".$1,$2); + if ($query =~ /[\/\*\\]/) { next unless (eval { $file =~ /$regex/ }); return unless &checkEval($@); -- 2.39.5