Handling is now to the point where user accounts requiring potential inbox processing...
[citadel.git] / citadel / msgbase.c
index d120ca41093bdf812d15535f95abfe2e9bbba1af..0b4ed5c593049f39d707f86733092cc144bdb69c 100644 (file)
@@ -2419,7 +2419,10 @@ int CtdlSaveMsgPointersInRoom(char *roomname, long newmsgidlist[], int num_newms
        }
 
        /* Submit this room for processing by hooks */
-       PerformRoomHooks(&CC->room);
+       int total_roomhook_errors = PerformRoomHooks(&CC->room);
+       if (total_roomhook_errors) {
+               syslog(LOG_WARNING, "msgbase: room hooks returned %d errors", total_roomhook_errors);
+       }
 
        /* Go back to the room we were in before we wandered here... */
        CtdlGetRoom(&CC->room, hold_rm);