summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 20:27:51 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 20:27:51 +0000
commit23a4885701cba4a87a5ae027257fb4207c917572 (patch)
treecdd4aa7e4260135e444b28182448a14adb4e9a57 /src/configreader.cpp
parent51924df0a878f66f83ea5639dcb7a761cfa65772 (diff)
Move tons more stuff into class InspIRCd*, make signal handler functions static members
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 85745c63e..f60885c2e 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -103,7 +103,7 @@ bool ServerConfig::CheckOnce(char* tag, bool bail, userrec* user)
if (bail)
{
printf("There were errors in your configuration:\nYou have more than one <%s> tag, this is not permitted.\n",tag);
- Exit(0);
+ InspIRCd::Exit(ERROR);
}
else
{
@@ -125,7 +125,7 @@ bool ServerConfig::CheckOnce(char* tag, bool bail, userrec* user)
if (bail)
{
printf("There were errors in your configuration:\nYou have not defined a <%s> tag, this is required.\n",tag);
- Exit(0);
+ InspIRCd::Exit(ERROR);
}
else
{
@@ -668,7 +668,7 @@ void ServerConfig::Read(bool bail, userrec* user)
{
/* Unneeded because of the log() aboive? */
printf("There were errors in your configuration:\n%s",errstr.str().c_str());
- Exit(0);
+ InspIRCd::Exit(ERROR);
}
else
{