mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-21 23:28:51 -05:00
Handle incoming messages from yourself
These are common for users of bouncers, private messages still need to be handled.
This commit is contained in:
parent
b3369a4bc4
commit
43a2f43090
@ -392,6 +392,8 @@ inbound_action (session *sess, char *chan, char *from, char *ip, char *text,
|
||||
user->lasttalk = time (0);
|
||||
if (user->account)
|
||||
id = TRUE;
|
||||
if (user->me)
|
||||
fromme = TRUE;
|
||||
}
|
||||
|
||||
inbound_make_idtext (serv, idtext, sizeof (idtext), id);
|
||||
@ -459,6 +461,8 @@ inbound_chanmsg (server *serv, session *sess, char *chan, char *from,
|
||||
id = TRUE;
|
||||
nickchar[0] = user->prefix[0];
|
||||
user->lasttalk = time (0);
|
||||
if (user->me)
|
||||
fromme = TRUE;
|
||||
}
|
||||
|
||||
if (fromme)
|
||||
|
Loading…
Reference in New Issue
Block a user