Handle incoming messages from yourself

These are common for users of bouncers, private messages still need to
be handled.
This commit is contained in:
TingPing 2013-08-26 09:44:18 -04:00
parent b3369a4bc4
commit 43a2f43090
1 changed files with 4 additions and 0 deletions

View File

@ -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)