projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added timeToStr and cmd_users
[NeonServV5.git]
/
modcmd.c
diff --git
a/modcmd.c
b/modcmd.c
index 5c07fb4e4828011040b799d0ec5dd05729ec3a38..03e56ac0bc6282ea2bccca3b2f59c905db5fb0c5 100644
(file)
--- a/
modcmd.c
+++ b/
modcmd.c
@@
-299,7
+299,7
@@
int register_command(int botid, char *name, cmd_bind_t *func, int paramcount, un
cmdfunc->botid = botid;
cmdfunc->name = strdup(name);
cmdfunc->func = func;
- cmdfunc->flags =
0
;
+ cmdfunc->flags =
flags
;
cmdfunc->paramcount = paramcount;
cmdfunc->next = cmd_functions;
cmd_functions = cmdfunc;