Change send_text() to combine command, hook and log arguments into one set of flags

This function is exported to modules, so it requires updating a few modules and rolling the module table version.
This commit is contained in:
Kevin Easton
2017-07-09 00:08:04 +10:00
parent 496bbc8b74
commit bb616e0626
15 changed files with 50 additions and 48 deletions

View File

@@ -206,8 +206,8 @@ void BX_add_to_window(Window *window, const char *str)
if (window->server >= 0 && get_server_redirect(window->server))
redirect_text(window->server,
get_server_redirect(window->server),
str, NULL, 0, 0);
get_server_redirect(window->server), str, STXT_QUIET);
if (do_hook(WINDOW_LIST, "%u %s", window->refnum, str))
{
char **lines;