diff options
| author | 2006-08-10 20:27:51 +0000 | |
|---|---|---|
| committer | 2006-08-10 20:27:51 +0000 | |
| commit | 23a4885701cba4a87a5ae027257fb4207c917572 (patch) | |
| tree | cdd4aa7e4260135e444b28182448a14adb4e9a57 /src/configreader.cpp | |
| parent | Make it more readable (diff) | |
| download | inspircd++-23a4885701cba4a87a5ae027257fb4207c917572.tar.gz inspircd++-23a4885701cba4a87a5ae027257fb4207c917572.tar.bz2 inspircd++-23a4885701cba4a87a5ae027257fb4207c917572.zip | |
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.cpp | 6 |
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 { |
