CtdlCheckExpress() now accepts a session context.
[citadel.git] / citadel / server / citserver.c
index 183fe3c17714aec4677fd5c977d67c1c6cba26c4..da0865899516b30e7c93a4eb44d81d0493a07b3f 100644 (file)
@@ -1,6 +1,6 @@
 // Main source module for the Citadel server
 //
-// Copyright (c) 1987-2023 by the citadel.org team
+// Copyright (c) 1987-2024 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or disclosure
 // is subject to the terms of the GNU General Public License, version 3.
@@ -166,8 +166,8 @@ void master_cleanup(int exitcode) {
 
 
 // returns an asterisk if there are any instant messages waiting, space otherwise.
-char CtdlCheckExpress(void) {
-       if (CC->FirstExpressMessage == NULL) {
+char CtdlCheckExpress(struct CitContext *con) {
+       if (con->FirstExpressMessage == NULL) {
                return (' ');
        }
        else {