diff options
author | Diogo Sousa <diogogsousa@gmail.com> | 2013-05-12 16:37:38 +0100 |
---|---|---|
committer | Diogo Sousa <diogogsousa@gmail.com> | 2013-05-12 16:37:38 +0100 |
commit | 6a8cad6f9431a629129d74cd3c549d279d1dea5d (patch) | |
tree | 9215d303fd4cd4df296d849c001dca6cb803462c /src/common/cfgfiles.c | |
parent | 4c307f6ac968acfcf687b9dd4f0bba131fd97645 (diff) |
Now hexchat doesn't abnormally terminal when started as root.
This fixes #589/#504.
Diffstat (limited to 'src/common/cfgfiles.c')
-rw-r--r-- | src/common/cfgfiles.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index a7949d3f..9b8d9e4c 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); |