Mercurial > pidgin
diff src/server.c @ 3457:222e23f91092
[gaim-migrate @ 3505]
Deryni made it so we can all log chats and IMs seperately.
He had it retain your old option--it would log both if you had
it configured that way.
I made it so that if you had logging on it will log IMs--but you'll have to
turn on logging chats manually. So if you want to log chats, turn that on.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Wed, 28 Aug 2002 05:55:48 +0000 |
| parents | b48065e52337 |
| children | 7a3f16a375a5 |
line wrap: on
line diff
--- a/src/server.c Wed Aug 28 02:38:19 2002 +0000 +++ b/src/server.c Wed Aug 28 05:55:48 2002 +0000 @@ -937,14 +937,14 @@ b->history = g_string_new(""); g_snprintf(b->name, 80, "%s", name); - if ((logging_options & OPT_LOG_ALL) || find_log_info(b->name)) { + if ((logging_options & OPT_LOG_CHATS) || find_log_info(b->name)) { FILE *fd; char *filename; filename = (char *)malloc(100); g_snprintf(filename, 100, "%s.chat", b->name); - fd = open_log_file(filename); + fd = open_log_file(filename, b->is_chat); if (fd) { if (!(logging_options & OPT_LOG_STRIP_HTML)) fprintf(fd,
