X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Futillib%2Fcitadel_ipc.c;h=67f6d6991543ac70cb01fc17db244fd0c6d494d9;hb=7b4383dd73b617754c1a495859ea134eabd196ca;hp=dddda672ece06f69c107f347962e28a6f8f0cc19;hpb=c0b28d0de9908667646a9ccbe7d9a5830285d733;p=citadel.git diff --git a/citadel/utillib/citadel_ipc.c b/citadel/utillib/citadel_ipc.c index dddda672e..67f6d6991 100644 --- 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;