projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* use eUsrAxlvl all over the place
[citadel.git]
/
citadel
/
utillib
/
citadel_ipc.c
diff --git
a/citadel/utillib/citadel_ipc.c
b/citadel/utillib/citadel_ipc.c
index dddda672ece06f69c107f347962e28a6f8f0cc19..67f6d6991543ac70cb01fc17db244fd0c6d494d9 100644
(file)
--- a/
citadel/utillib/citadel_ipc.c
+++ b/
citadel/utillib/citadel_ipc.c
@@
-1108,7
+1108,7
@@
int CtdlIPCValidateUser(CtdlIPC *ipc, const char *username, int axlevel, char *c
if (!cret) return -2;
if (!username) return -2;
- if (axlevel <
0 || axlevel > 7
) return -2;
+ if (axlevel <
AxDeleted || axlevel > AxAideU
) return -2;
aaa = (char *)malloc(strlen(username) + 17);
if (!aaa) return -1;