Mercurial > pidgin
diff src/server.c @ 1479:4c62ead808a2
[gaim-migrate @ 1489]
save conversation history
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 07 Feb 2001 21:46:40 +0000 |
parents | 6650776468b3 |
children | ba8e6e211af5 |
line wrap: on
line diff
--- a/src/server.c Wed Feb 07 21:13:22 2001 +0000 +++ b/src/server.c Wed Feb 07 21:46:40 2001 +0000 @@ -634,6 +634,7 @@ b->in_room = NULL; b->id = id; b->gc = gc; + b->history = g_string_new(""); g_snprintf(b->name, 80, "%s", name); if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(b->name)) { @@ -693,6 +694,7 @@ b->ignored = g_list_remove(b->ignored, b->ignored->data); } + g_string_free(b->history, TRUE); g_free(b); }