From 565a4927242ad84430b247f3e3939cf75ceb986d Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 27 Apr 2013 06:32:30 -0400 Subject: Reverts commit d964af81428a6d768aeb96906eb0538a30d919ca --- src/common/cfgfiles.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/common') diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index e9486771..525e6acd 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -830,6 +830,15 @@ 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); -- cgit 1.4.1