From 17d5b644f49713db77f6f678dfe3da4db89978cb Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 28 Apr 2002 14:08:20 +0000 Subject: query->createtime wasn't set git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2737 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/queries.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/queries.c') diff --git a/src/core/queries.c b/src/core/queries.c index e153c8eb..8ae994a2 100644 --- a/src/core/queries.c +++ b/src/core/queries.c @@ -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) { -- cgit v1.2.3