git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfixes to coke handling, allowed give to internal
[tpg/opendispense2.git]
/
src
/
server
/
server.c
diff --git
a/src/server/server.c
b/src/server/server.c
index
01e2d84
..
bae6fa9
100644
(file)
--- a/
src/server/server.c
+++ b/
src/server/server.c
@@
-666,10
+666,10
@@
void Server_Cmd_GIVE(tClient *Client, char *Args)
}
// You can't alter an internal account
}
// You can't alter an internal account
-
if( Bank_GetFlags(uid) & USER_FLAG_INTERNAL ) {
-
sendf(Client->Socket, "404 Invalid target user\n");
-
return ;
-
}
+
//
if( Bank_GetFlags(uid) & USER_FLAG_INTERNAL ) {
+
//
sendf(Client->Socket, "404 Invalid target user\n");
+
//
return ;
+
//
}
// Parse ammount
iAmmount = atoi(ammount);
// Parse ammount
iAmmount = atoi(ammount);
UCC
git Repository :: git.ucc.asn.au