--- files.c.orig	Mon Jun 14 19:28:17 1999
+++ files.c	Mon Jun 14 19:33:46 1999
@@ -487,7 +487,8 @@
 				else
 				if (check_item->attribute == PW_HUNTGROUP_NAME){
-					if (!huntgroup_match(request,
-						check_item->strvalue))
-							return -1;
+					compare = (huntgroup_match(request,
+						check_item->strvalue) == 0);
+					DEBUG("COMPARE = %d", compare);
+					break;
 				}
 				else
