summaryrefslogtreecommitdiff
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-08 00:33:05 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-08 00:33:05 +0000
commit0b6667568e88c2d76ecd9bfc5a4445b88435b54e (patch)
treee7d237796c90ab8c7b5b1d9c7c5b10148f8e80c8 /src/userprocess.cpp
parent033640feb2f01c6d6d704b01bbafa1a98d6c2d61 (diff)
Remove some tabbing, remove a typo, use Exit() rather than exit()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3537 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index 76be62d71..24bb91f94 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -386,23 +386,23 @@ void OpenLog(char** argv, int argc)
void CheckRoot()
{
- if (geteuid() == 0)
- {
- printf("WARNING!!! You are running an irc server as ROOT!!! DO NOT DO THIS!!!\n\n");
- log(DEFAULT,"InspIRCd: startup: not starting with UID 0!");
- Exit(ERROR);
- }
+ if (geteuid() == 0)
+ {
+ printf("WARNING!!! You are running an irc server as ROOT!!! DO NOT DO THIS!!!\n\n");
+ log(DEFAULT,"InspIRCd: startup: not starting with UID 0!");
+ Exit(ERROR);
+ }
}
void CheckDie()
{
- if (*Config->DieValue)
- {
- printf("WARNING: %s\n\n",Config->DieValue);
- log(DEFAULT,"Ut-Oh, somebody didn't read their config file: '%s'",Config->DieValue);
- exit(0);
- }
+ if (*Config->DieValue)
+ {
+ printf("WARNING: %s\n\n",Config->DieValue);
+ log(DEFAULT,"Uh-Oh, somebody didn't read their config file: '%s'",Config->DieValue);
+ Exit(ERROR);
+ }
}
void LoadAllModules(InspIRCd* ServerInstance)