plugins/admin-flatfile/admin-simple.sp
changeset 2490 5701b09b3d19
parent 2420 8b384e375877
     1.1 --- a/plugins/admin-flatfile/admin-simple.sp	Sun Dec 28 19:59:40 2008 -0500
     1.2 +++ b/plugins/admin-flatfile/admin-simple.sp	Sun Dec 28 23:45:18 2008 -0500
     1.3 @@ -216,7 +216,8 @@
     1.4  		if (!BindAdminIdentity(admin, auth_method, auth[auth_offset]))
     1.5  		{
     1.6  			/* We should never reach here */
     1.7 -			ParseError("Failed to bind identity %s (method %s)", auth[auth_offset], auth_method);
     1.8 +			RemoveAdmin(admin);
     1.9 +			ParseError("Failed to bind identity %s (method %s)", auth[auth_offset], auth_method);			
    1.10  		}
    1.11  	}
    1.12  }