From 43a2f4309078f2abdded0605536d80890cd2d8a1 Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 26 Aug 2013 09:44:18 -0400 Subject: Handle incoming messages from yourself These are common for users of bouncers, private messages still need to be handled. --- src/common/inbound.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/inbound.c b/src/common/inbound.c index a8c19504..bdac83f7 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -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) -- cgit 1.4.1