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:
@@ -1584,7 +1584,7 @@ extern void send_ctcp (int type, char *to, int datatag, char *format, ...)
|
||||
|
||||
putbuf2[len - 2] = CTCP_DELIM_CHAR;
|
||||
putbuf2[len - 1] = 0;
|
||||
send_text(to, putbuf2, ctcp_type[type], 0, 0);
|
||||
send_text(to, putbuf2, (type == CTCP_NOTICE ? STXT_NOTICE : 0) | STXT_QUIET);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user