projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
execute mysql_check only if a query fails.
[NeonServV5.git]
/
cmd_neonserv_adduser.c
diff --git
a/cmd_neonserv_adduser.c
b/cmd_neonserv_adduser.c
index 80a9043044c91c89c18ff9b63e69904d6f41c567..ceab6cd6287dd72721542a6502c6d6949dd09679 100644
(file)
--- a/
cmd_neonserv_adduser.c
+++ b/
cmd_neonserv_adduser.c
@@
-19,7
+19,6
@@
static CMD_BIND(neonserv_cmd_adduser) {
int caccess;
MYSQL_RES *res;
MYSQL_ROW row;
- check_mysql();
caccess = atoi(argv[1]);
if(caccess <= 0 || caccess > 500) {
reply(getTextBot(), user, "NS_INVALID_ACCESS", caccess);