diff options
author | Timo Sirainen <cras@irssi.org> | 2002-04-28 14:08:20 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-04-28 14:08:20 +0000 |
commit | 17d5b644f49713db77f6f678dfe3da4db89978cb (patch) | |
tree | d913567e0caedc0786d6bd5482cbee3d325bc08e /src | |
parent | 7d0af0013354c7cef56a76add55585812f07f5da (diff) | |
download | irssi-17d5b644f49713db77f6f678dfe3da4db89978cb.zip |
query->createtime wasn't set
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2737 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/core/queries.c | 1 |
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) { |