Replace 'hook' and 'noisy' flags in functions downstream of send_text() with !(stxt_flags & STXT_QUIET)

This is in preparation for consolidating the various send_text() options into one set of consistent flags.
This commit is contained in:
Kevin Easton
2017-07-07 15:16:12 +10:00
parent 2c8671f3dd
commit 2d0b3e728f
5 changed files with 25 additions and 21 deletions

View File

@@ -141,7 +141,7 @@ struct dcc_offer {
int dcc_activechat(char *); /* identify all active chat dcc's */
int dcc_activebot(char *); /* identify all active bot's */
int dcc_activeraw(char *); /* identify all active raw connects */
void dcc_chat_transmit(char *, char *, char *, char *, int);
void dcc_chat_transmit(char *, char *, char *, char *, unsigned);
void dcc_bot_transmit(char *, char *, char *);
void dcc_raw_transmit(char *, char *, char *);

View File

@@ -165,6 +165,10 @@ extern char thing_star[4];
#define MAX(a,b) ((a > b) ? (a) : (b))
#endif
/* send_text flag values */
#define STXT_NOTICE 0x0001U
#define STXT_QUIET 0x0002U
/* This section is for keeping track internally
* the CVS revision info of the running client.
* Since so many people are using CVS versions