# HG changeset patch # User Luke Schierer # Date 1081401995 0 # Node ID d4f6b9aa4cc85003642109ad3e0063ea79466f42 # Parent 70aad91d9cb5ea377867a4d5e3679298e8534d15 [gaim-migrate @ 9370] (01:38:34) khc: LSchiere: http://kahing.ath.cx/software/gaim/syslog-jabber.diff (01:38:39) khc: LSchiere: Strips the / committer: Tailor Script diff -r 70aad91d9cb5 -r d4f6b9aa4cc8 src/account.c --- a/src/account.c Thu Apr 08 04:43:53 2004 +0000 +++ b/src/account.c Thu Apr 08 05:26:35 2004 +0000 @@ -923,8 +923,16 @@ g_return_val_if_fail(account != NULL, NULL); if(!account->system_log){ - account->system_log = gaim_log_new(GAIM_LOG_SYSTEM, account->username, + char *name = g_strdup(gaim_account_get_username(account)); + char *c = strchr(name, '/'); + + if(c) { + c[0] = '\0'; + } + + account->system_log = gaim_log_new(GAIM_LOG_SYSTEM, name, account, account->gc->login_time); + g_free(name); } return account->system_log; diff -r 70aad91d9cb5 -r d4f6b9aa4cc8 src/log.c --- a/src/log.c Thu Apr 08 04:43:53 2004 +0000 +++ b/src/log.c Thu Apr 08 05:26:35 2004 +0000 @@ -299,7 +299,6 @@ prpl = GAIM_PLUGIN_PROTOCOL_INFO (gaim_find_prpl(gaim_account_get_protocol_id(account)))->list_icon(account, NULL); path = g_build_filename(gaim_user_dir(), "logs", prpl, me, gaim_normalize(account, screenname), NULL); - g_free(me); if (!(dir = g_dir_open(path, 0, NULL))) { diff -r 70aad91d9cb5 -r d4f6b9aa4cc8 src/server.c --- a/src/server.c Thu Apr 08 04:43:53 2004 +0000 +++ b/src/server.c Thu Apr 08 05:26:35 2004 +0000 @@ -881,6 +881,7 @@ return; } name = angel; + message = buffy; /*