Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/main.c @ 940:fc30221b952d
Fix an autoaway problem
This patch fixes an autoaway related issue introduced in the previous
changeset.
scr_GetAutoAwayTimeout() should not return a null timeout when the user
status do not need auto-away (i.e. status != online,free).
This patch also tries to save a few time() calls.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 14 Jul 2006 19:32:23 +0200 |
parents | 12fa2ae6445d |
children | 6be62425dc38 |
comparison
equal
deleted
inserted
replaced
939:12fa2ae6445d | 940:fc30221b952d |
---|---|
337 scr_CheckAutoAway(FALSE); | 337 scr_CheckAutoAway(FALSE); |
338 | 338 |
339 if (update_roster) | 339 if (update_roster) |
340 scr_DrawRoster(); | 340 scr_DrawRoster(); |
341 | 341 |
342 scr_DoUpdate(); | |
343 jb_main(); | 342 jb_main(); |
344 } | 343 } |
345 } | 344 } |
346 | 345 |
347 jb_disconnect(); | 346 jb_disconnect(); |