summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-06-10 09:20:58 +0200
committerBerke Viktor <berkeviktor@aol.com>2012-06-10 09:20:58 +0200
commit04829d015d500719d8aaeef56d988a46fd2639b7 (patch)
tree1ec9da2a460d58a6ccea87cd4a43ded2e4167feb /src
parent84710e41469fd503c13a3e5a82b4736f7456b3b7 (diff)
Don't use the user's login name for real name while it's invisible
Diffstat (limited to 'src')
-rw-r--r--src/common/cfgfiles.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 6bbdb3f7..081137b8 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -643,9 +643,11 @@ load_config (void)
 	if (!username)
 		username = "root";
 
-	realname = g_get_real_name ();
+	/* We hid Real name from the Network List, so don't use the user's name unnoticeably */
+	/* realname = g_get_real_name ();
 	if ((realname && realname[0] == 0) || !realname)
-		realname = username;
+		realname = username; */
+	realname = "realname";
 
 	username = convert_with_fallback (username, "username");
 	realname = convert_with_fallback (realname, "realname");