projects
/
ga4php.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
03a0088
)
errr, no idea?
author
paulr
<me@pjr.cc>
Thu, 20 Jan 2011 03:04:56 +0000 (14:04 +1100)
committer
paulr
<me@pjr.cc>
Thu, 20 Jan 2011 03:04:56 +0000 (14:04 +1100)
authserver/usercmd.php
patch
|
blob
|
history
diff --git
a/authserver/usercmd.php
b/authserver/usercmd.php
index
3525cbe
..
d24157e
100644
(file)
--- 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]);