mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
extra check to make sure the "timer changed" signal is sent at startup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1993 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e261b422ec
commit
381f410058
@ -481,7 +481,7 @@ static int sig_timer(void)
|
||||
/* check if $Z has changed */
|
||||
now = time(NULL);
|
||||
if (last_timestamp != now) {
|
||||
if (!timestamp_seconds) {
|
||||
if (!timestamp_seconds && last_timestamp != 0) {
|
||||
/* assume it changes every minute */
|
||||
tm = localtime(&last_timestamp);
|
||||
last_min = tm->tm_min;
|
||||
|
Loading…
Reference in New Issue
Block a user