diff options
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r-- | src/common/inbound.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c index aa87cfab..fae0fd34 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -316,7 +316,7 @@ is_hilight (char *from, char *text, session *sess, server *serv) g_free (text); if (sess != current_tab) { - sess->nick_said = TRUE; + sess->tab_state |= TAB_STATE_NEW_HILIGHT; lastact_update (sess); } return 1; @@ -373,14 +373,9 @@ inbound_action (session *sess, char *chan, char *from, char *ip, char *text, if (sess != current_tab) { if (fromme) - { - sess->msg_said = FALSE; - sess->new_data = TRUE; - } else - { - sess->msg_said = TRUE; - sess->new_data = FALSE; - } + sess->tab_state |= TAB_STATE_NEW_DATA; + else + sess->tab_state |= TAB_STATE_NEW_MSG; lastact_update (sess); } @@ -448,8 +443,7 @@ inbound_chanmsg (server *serv, session *sess, char *chan, char *from, if (sess != current_tab) { - sess->msg_said = TRUE; - sess->new_data = FALSE; + sess->tab_state |= TAB_STATE_NEW_MSG; lastact_update (sess); } |