From: paulr Date: Thu, 20 Jan 2011 03:04:56 +0000 (+1100) Subject: errr, no idea? X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=ef29f029690b3717a15adac4397047d9836e647c;p=ga4php.git errr, no idea? --- diff --git a/authserver/usercmd.php b/authserver/usercmd.php index 3525cbe..d24157e 100644 --- a/authserver/usercmd.php +++ b/authserver/usercmd.php @@ -107,7 +107,12 @@ switch($argv[1]) { break; case "add": $return = $myAC->addUser($argv[2]); - echo "Created user, ".$argv[2]." returned $return\n"; + if($return) { + echo "Created user, ".$argv[2]."\n"; + } else { + echo "Failed to create user, ".$argv[2]."\n"; + } + break; case "delete": $res = $myAC->deleteUser($argv[2]);