1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

avoid double allocaion of session_started

This commit is contained in:
Dmitry Podgorny 2013-08-24 00:34:47 +03:00
parent 139ffcbbb9
commit c94495bc31

View File

@ -205,7 +205,6 @@ chat_log_init(void)
void void
groupchat_log_init(void) groupchat_log_init(void)
{ {
session_started = g_date_time_new_now_local();
log_info("Initialising groupchat logs"); log_info("Initialising groupchat logs");
groupchat_logs = g_hash_table_new_full(g_str_hash, (GEqualFunc) _key_equals, g_free, groupchat_logs = g_hash_table_new_full(g_str_hash, (GEqualFunc) _key_equals, g_free,
(GDestroyNotify)_free_chat_log); (GDestroyNotify)_free_chat_log);