mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Whops, last "fix" broke timestamp's time.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@350 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b810f0d545
commit
df2ad566d8
@ -651,9 +651,9 @@ static char *get_timestamp(TEXT_DEST_REC *dest)
|
||||
if (!show_timestamp(dest->level))
|
||||
return NULL;
|
||||
|
||||
if (timestamp_timeout > 0) {
|
||||
t = time(NULL);
|
||||
t = time(NULL);
|
||||
|
||||
if (timestamp_timeout > 0) {
|
||||
diff = t - dest->window->last_timestamp;
|
||||
dest->window->last_timestamp = t;
|
||||
if (diff < timestamp_timeout)
|
||||
|
Loading…
Reference in New Issue
Block a user