Pass STXT_NOTICE flag instead of command string to functions downstream of send_text()
This uses another bit in the existing flags argument in place of the command argument, and avoids
having to re-compare against fixed strings ("PRIVMSG", "NOTICE").
This commit is contained in:
@@ -141,9 +141,9 @@ 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 *, unsigned);
|
||||
void dcc_bot_transmit(char *, char *, char *);
|
||||
void dcc_raw_transmit(char *, char *, char *);
|
||||
void dcc_chat_transmit(char *, char *, char *, unsigned);
|
||||
void dcc_bot_transmit(char *, char *, unsigned);
|
||||
void dcc_raw_transmit(char *, char *, unsigned);
|
||||
|
||||
void handle_dcc_offer(struct dcc_offer *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user