mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-30 21:22:16 -05:00
Consistently use bools
This commit is contained in:
parent
1de6f68315
commit
b37af16fa6
@ -136,7 +136,7 @@ inbound_open_dialog (server *serv, char *from,
|
||||
}
|
||||
|
||||
static void
|
||||
inbound_make_idtext (server *serv, char *idtext, int max, int id)
|
||||
inbound_make_idtext (server *serv, char *idtext, int max, gboolean id)
|
||||
{
|
||||
idtext[0] = 0;
|
||||
if (serv->have_idmsg || serv->have_accnotify)
|
||||
@ -154,7 +154,7 @@ inbound_make_idtext (server *serv, char *idtext, int max, int id)
|
||||
}
|
||||
|
||||
void
|
||||
inbound_privmsg (server *serv, char *from, char *to, char *ip, char *text, int id,
|
||||
inbound_privmsg (server *serv, char *from, char *to, char *ip, char *text, gboolean id,
|
||||
const message_tags_data *tags_data)
|
||||
{
|
||||
session *sess;
|
||||
@ -352,7 +352,7 @@ is_hilight (char *from, char *text, session *sess, server *serv)
|
||||
|
||||
void
|
||||
inbound_action (session *sess, char *chan, char *from, char *ip, char *text,
|
||||
int fromme, gboolean fake, int id, const message_tags_data *tags_data)
|
||||
gboolean fromme, gboolean fake, gboolean id, const message_tags_data *tags_data)
|
||||
{
|
||||
server *serv = sess->server;
|
||||
struct User *user;
|
||||
@ -460,7 +460,7 @@ inbound_action (session *sess, char *chan, char *from, char *ip, char *text,
|
||||
|
||||
void
|
||||
inbound_chanmsg (server *serv, session *sess, char *chan, char *from,
|
||||
char *text, char fromme, int id,
|
||||
char *text, gboolean fromme, gboolean id,
|
||||
const message_tags_data *tags_data)
|
||||
{
|
||||
struct User *user;
|
||||
@ -990,7 +990,7 @@ find_session_from_type (int type, server *serv)
|
||||
}
|
||||
|
||||
void
|
||||
inbound_notice (server *serv, char *to, char *nick, char *msg, char *ip, int id,
|
||||
inbound_notice (server *serv, char *to, char *nick, char *msg, char *ip, gboolean id,
|
||||
const message_tags_data *tags_data)
|
||||
{
|
||||
char *po,*ptr=to;
|
||||
|
@ -37,7 +37,7 @@ void inbound_ukick (server *serv, char *chan, char *kicker, char *reason,
|
||||
void inbound_kick (server *serv, char *chan, char *user, char *kicker,
|
||||
char *reason, const message_tags_data *tags_data);
|
||||
void inbound_notice (server *serv, char *to, char *nick, char *msg, char *ip,
|
||||
int id, const message_tags_data *tags_data);
|
||||
gboolean id, const message_tags_data *tags_data);
|
||||
void inbound_quit (server *serv, char *nick, char *ip, char *reason,
|
||||
const message_tags_data *tags_data);
|
||||
void inbound_topicnew (server *serv, char *nick, char *chan, char *topic,
|
||||
@ -76,14 +76,14 @@ void inbound_login_start (session *sess, char *nick, char *servname,
|
||||
void inbound_login_end (session *sess, char *text,
|
||||
const message_tags_data *tags_data);
|
||||
void inbound_chanmsg (server *serv, session *sess, char *chan, char *from,
|
||||
char *text, char fromme, int id,
|
||||
char *text, gboolean fromme, gboolean id,
|
||||
const message_tags_data *tags_data);
|
||||
void clear_channel (session *sess);
|
||||
void set_topic (session *sess, char *topic, char *stripped_topic);
|
||||
void inbound_privmsg (server *serv, char *from, char *to, char *ip, char *text, int id,
|
||||
void inbound_privmsg (server *serv, char *from, char *to, char *ip, char *text, gboolean id,
|
||||
const message_tags_data *tags_data);
|
||||
void inbound_action (session *sess, char *chan, char *from, char *ip,
|
||||
char *text, int fromme, gboolean fake, int id,
|
||||
char *text, gboolean fromme, gboolean fake, gboolean id,
|
||||
const message_tags_data *tags_data);
|
||||
void inbound_newnick (server *serv, char *nick, char *newnick, int quiet,
|
||||
const message_tags_data *tags_data);
|
||||
|
Loading…
Reference in New Issue
Block a user