summaryrefslogtreecommitdiff
path: root/src/core/queries.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/queries.c')
-rw-r--r--src/core/queries.c1
1 files changed, 1 insertions, 0 deletions
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) {