CtdlCheckExpress() now accepts a session context.
[citadel.git] / citadel / server / modules / ctdlproto / serv_rooms.c
index a6bd3036ba0557e2d43603dcaf28dfab2209f74f..4da11284b92cc10bac1887dcb09bcfb2a6e7d081 100644 (file)
@@ -1,6 +1,6 @@
 // Server functions which perform operations on room objects.
 //
-// Copyright (c) 1987-2022 by the citadel.org team
+// Copyright (c) 1987-2024 by the citadel.org team
 //
 // This program is open source software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License, version 3.
@@ -434,7 +434,7 @@ void cmd_getr(char *cmdbuf) {
        CtdlGetRoom(&CC->room, CC->room.QRname);
        cprintf("%d%c%s|%s|%s|%d|%d|%d|%d|%d|\n",
                CIT_OK,
-               CtdlCheckExpress(),
+               CtdlCheckExpress(CC),
                ((CC->room.QRflags & QR_MAILBOX) ?  &CC->room.QRname[11] : CC->room.QRname),
                ((CC->room.QRflags & QR_PASSWORDED) ?  CC->room.QRpasswd : ""),
                ((CC->room.QRflags & QR_DIRECTORY) ?  CC->room.QRdirname : ""),