Commit 43a2f430 authored by TingPing's avatar TingPing

Handle incoming messages from yourself

These are common for users of bouncers, private messages still need to
be handled.
parent b3369a4b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment