]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/modules/ctdlproto/serv_user.c
Remove CTDLUID definition, point to ctdluid symbol instead.
[citadel.git] / citadel / server / modules / ctdlproto / serv_user.c
index 65e2bd47f744045671eea6e1576be0eca63c8a77..48fe21d9f3ccb7c661d6ea14d4a3b7d8be5da54b 100644 (file)
@@ -147,7 +147,7 @@ void cmd_setp(char *new_pw) {
        if (CtdlAccessCheck(ac_logged_in)) {
                return;
        }
-       if ( (CC->user.uid != CTDLUID) && (CC->user.uid != (-1)) ) {
+       if ( (CC->user.uid != ctdluid) && (CC->user.uid != (-1)) ) {
                cprintf("%d Not allowed.  Use the 'passwd' command.\n", ERROR + NOT_HERE);
                return;
        }