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

@@ -11,7 +11,7 @@ extern char *sent_nick;
extern char *sent_body;
extern char *recv_nick;
void BX_send_text (const char *, const char *, char *, int, int);
void BX_send_text (const char *, const char *, unsigned);
void eval_inputlist (char *, char *);
int BX_parse_command (char *, int, char *);
void BX_parse_line (const char *, char *, const char *, int, int, int);
@@ -27,7 +27,7 @@ extern char *recv_nick;
void destroy_call_stack (void);
void unwind_stack (void);
void wind_stack (char *);
void redirect_text (int, const char *, const char *, char *, int, int);
void redirect_text (int, const char *, const char *, unsigned);
int command_exist (char *);