Merge pull request #448 from TingPing/awaynotify2

Add away-notify support
This commit is contained in:
TingPing
2013-04-03 12:12:26 -07:00
6 changed files with 37 additions and 2 deletions

View File

@@ -336,14 +336,15 @@ doover:
list = list->next;
}
/* done them all, reset done_away_check to FALSE and start over */
/* done them all, reset done_away_check to FALSE and start over unless we have away-notify */
if (full)
{
list = sess_list;
while (list)
{
sess = list->data;
sess->done_away_check = FALSE;
if (!sess->server->have_awaynotify)
sess->done_away_check = FALSE;
list = list->next;
}
loop++;