From 48d9f31fa933bcc2b2642e27feba28055f754c92 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 28 Sep 2016 09:08:00 -0400 Subject: [PATCH] add more debug --- src/zms.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zms.cpp b/src/zms.cpp index b16165b21..40433ff9c 100644 --- a/src/zms.cpp +++ b/src/zms.cpp @@ -41,6 +41,8 @@ bool ValidateAccess( User *user, int mon_id ) { if ( !allowed ) { Error( "Error, insufficient privileges for requested action" ); exit( -1 ); + } else { + Debug( 1, "User allowed."); } return( allowed ); }