From 3101a8ea7dcc91c1afa244bc163137cf26276a15 Mon Sep 17 00:00:00 2001 From: Torgny Nyblom Date: Fri, 8 Oct 2010 19:25:49 +0200 Subject: Allow files to be matched --- src/ruleparser.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ruleparser.cpp') diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp index 4ab8f08..3bad38b 100644 --- a/src/ruleparser.cpp +++ b/src/ruleparser.cpp @@ -186,8 +186,6 @@ void Rules::load() match.prefix = matchPrefixLine.cap(1); if( match.prefix.startsWith('/')) match.prefix = match.prefix.mid(1); - if( !match.prefix.endsWith('/')) - match.prefix.append('/'); continue; } else if (matchActionLine.exactMatch(line)) { QString action = matchActionLine.cap(1); -- cgit v1.2.1