summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-04-05 10:12:33 -0400
committerTingPing <tingping@tingping.se>2013-04-05 10:12:33 -0400
commitd964af81428a6d768aeb96906eb0538a30d919ca (patch)
treedd11a42043d858ddf86ff387f3f0517a78b1b413 /src/common
parent7746ff9a122fdecc512e560b2a0608cc949ff2b6 (diff)
Fix root user warning running before g_type_init
closes #504
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cfgfiles.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index aa0fb1a7..ac9120e1 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -827,15 +827,6 @@ load_config (void)
 
 	} else
 	{
-#ifndef WIN32
-#ifndef __EMX__
-		/* OS/2 uses UID 0 all the time */
-		if (getuid () == 0)
-			fe_message (_("* Running IRC as root is stupid! You should\n"
-							"  create a User Account and use that to login.\n"), FE_MSG_WARN|FE_MSG_WAIT);
-#endif
-#endif /* !WIN32 */
-
 		g_mkdir (prefs.hex_dcc_dir, 0700);
 		g_mkdir (prefs.hex_dcc_completed_dir, 0700);