… | |
… | |
343 | |
343 | |
344 | // send all clients some informational text |
344 | // send all clients some informational text |
345 | static void |
345 | static void |
346 | cleanup_inform (const char *cause, bool make_core) |
346 | cleanup_inform (const char *cause, bool make_core) |
347 | { |
347 | { |
348 | int flags = NDI_UNIQUE | NDI_ALL | (make_core ? NDI_RED : NDI_GREEN); |
348 | int flags = NDI_REPLY | NDI_UNIQUE | NDI_ALL | (make_core ? NDI_RED : NDI_GREEN); |
349 | |
349 | |
350 | new_draw_info_format (flags, 0, 0, "The server will now shutdown."); |
350 | new_draw_info_format (flags, 0, 0, "The server will now shutdown."); |
351 | new_draw_info_format (flags, 0, 0, "Cause for this shutdown: %s", cause); |
351 | new_draw_info_format (flags, 0, 0, "Cause for this shutdown: %s", cause); |
352 | |
352 | |
353 | if (make_core) |
353 | if (make_core) |