]> code.citadel.org Git - citadel.git/blobdiff - citadel/routines2.c
Patches from Matt with slight mod from me to do without strlen. Also modified lprintf...
[citadel.git] / citadel / routines2.c
index 3687f06eafbd9419b862e0cd484eea56d11a9d23..93c1814e51d7003a445a72f3b41e577704c77379 100644 (file)
@@ -51,7 +51,7 @@
 
 extern char temp[];
 extern char tempdir[];
-extern char *axdefs[7];
+extern char *axdefs[8];
 extern long highest_msg_read;
 extern long maxmsgnum;
 extern unsigned room_flags;
@@ -451,6 +451,11 @@ int val_user(CtdlIPC *ipc, char *user, int do_validate)
                        if (a == 11)
                                scr_printf("%s\n", buf);
                } while (!IsEmptyStr(resp));
+
+/* TODODRW: discrepancy here. Parts of the code refer to axdefs[7] as the highest
+ * but most of it limits it to axdefs[6].
+ * Webcit limits to 6 as does the code here but there are 7 in axdefs.h
+ */
                scr_printf("Current access level: %d (%s)\n", ax, axdefs[ax]);
        } else {
                scr_printf("%s\n%s\n", user, &cmd[4]);