From afa79e9d11039ef50adc21f12ac64d2566eb74c3 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Mon, 26 May 2014 05:46:24 -0400 Subject: [PATCH] Fix error in matcherEquals --- route.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/route.js b/route.js index 396319b..37e94e1 100644 --- a/route.js +++ b/route.js @@ -162,8 +162,7 @@ function Routing(exports) { if (!(b instanceof $WildcardSequence)) return false; a = a.matcher; b = b.matcher; - } - if (b instanceof $WildcardSequence) return false; + } else if (b instanceof $WildcardSequence) return false; if (a instanceof $Success) { if (!(b instanceof $Success)) return false;