mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 17:50:19 +00:00
Clean up away-notify patch
This commit is contained in:
@@ -988,10 +988,7 @@ inbound_away_notify (server *serv, char *nick, char *reason)
|
||||
{
|
||||
sess = list->data;
|
||||
if (sess->server == serv)
|
||||
if (!reason)
|
||||
userlist_set_away (sess, nick, FALSE);
|
||||
else
|
||||
userlist_set_away (sess, nick, TRUE);
|
||||
userlist_set_away (sess, nick, reason ? TRUE : FALSE);
|
||||
list = list->next;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user