From 23a4885701cba4a87a5ae027257fb4207c917572 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 20:27:51 +0000 Subject: 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 --- src/configreader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/configreader.cpp') 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 { -- cgit v1.2.3