/NOTIFY -idle fixes.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@515 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-23 11:55:16 +00:00 committed by cras
commit e322876342
4 changed files with 11 additions and 14 deletions

View file

@ -144,7 +144,7 @@ static void notifylist_print(NOTIFYLIST_REC *rec)
if (rec->idle_check_time <= 0)
idle[0] = '\0';
else
g_snprintf(idle, sizeof(idle), "-idle %d", rec->idle_check_time);
g_snprintf(idle, sizeof(idle), "-idle %d", rec->idle_check_time/60);
ircnets = rec->ircnets == NULL ? NULL :
g_strjoinv(",", rec->ircnets);