mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
query->createtime wasn't set
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2737 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7d0af00133
commit
17d5b644f4
@ -37,6 +37,7 @@ void query_init(QUERY_REC *query, int automatic)
|
||||
MODULE_DATA_INIT(query);
|
||||
query->type = module_get_uniq_id_str("WINDOW ITEM TYPE", "QUERY");
|
||||
query->destroy = (void (*) (WI_ITEM_REC *)) query_destroy;
|
||||
query->createtime = time(NULL);
|
||||
query->last_unread_msg = time(NULL);
|
||||
|
||||
if (query->server_tag != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user