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:
@@ -860,7 +860,7 @@ static void handle_filedesc (Process *proc, int *fd, int hook_nonl, int hook_nl
|
||||
|
||||
if (proc->redirect)
|
||||
redirect_text(proc->server, proc->who,
|
||||
exec_buffer, proc->redirect, 1, 0);
|
||||
exec_buffer, !strcmp(proc->redirect, "NOTICE") ? STXT_NOTICE : 0);
|
||||
|
||||
if (hook_nl == EXEC_LIST && proc->stdoutc)
|
||||
parse_line("EXEC", proc->stdoutc, exec_buffer, 0, 0, 1);
|
||||
|
||||
Reference in New Issue
Block a user