Loading src/server/servsock.c +2 −1 Original line number Diff line number Diff line Loading @@ -515,7 +515,8 @@ void msg_attach_to_all(ipc_message_t *msg) if (pread(users_fd, urec, sizeof(*urec), c->user) <= 0) continue; /* person not on talker, just skip them */ if (!cm_test(&user, CM_ONCHAT)) continue; if (!cm_test(&user, CM_ONCHAT) && msg->head.type != IPC_WHOLIST) continue; msg_attach(msg, c); printf("Broadcast to %s in %d\n", urec->name, urec->room); Loading Loading
src/server/servsock.c +2 −1 Original line number Diff line number Diff line Loading @@ -515,7 +515,8 @@ void msg_attach_to_all(ipc_message_t *msg) if (pread(users_fd, urec, sizeof(*urec), c->user) <= 0) continue; /* person not on talker, just skip them */ if (!cm_test(&user, CM_ONCHAT)) continue; if (!cm_test(&user, CM_ONCHAT) && msg->head.type != IPC_WHOLIST) continue; msg_attach(msg, c); printf("Broadcast to %s in %d\n", urec->name, urec->room); Loading