diff src/account.c @ 8635:4aee5a47937d

[gaim-migrate @ 9387] this is some stuff. i think there's logsize caching or something. it hasn't crashed on me yet, and we can rip it out if it sucks. enjoy! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 12 Apr 2004 01:11:45 +0000
parents d4f6b9aa4cc8
children 0706d86ecec2
line wrap: on
line diff
--- a/src/account.c	Sun Apr 11 18:18:30 2004 +0000
+++ b/src/account.c	Mon Apr 12 01:11:45 2004 +0000
@@ -923,16 +923,9 @@
 	g_return_val_if_fail(account != NULL, NULL);
 
 	if(!account->system_log){
-		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);
+		account->system_log	 = gaim_log_new(GAIM_LOG_SYSTEM,
+				gaim_account_get_username(account), account,
+				account->gc->login_time);
 	}
 
 	return account->system_log;