From 7db1335b25f6a6cc884368138df4d16a1cafd493 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 4 Apr 2006 05:53:22 +0000 Subject: trivial: Made a slight error on that last commit, missed a bit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3816 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 6dca11fda..9b7d6fa17 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -167,16 +167,20 @@ InspIRCd::InspIRCd(int argc, char** argv) if (argc > 1) { for (int i = 1; i < argc; i++) { - if (!strcmp(argv[i],"-nofork")) { + if (!strcmp(argv[i],"-nofork")) + { Config->nofork = true; } - if (!strcmp(argv[i],"-wait")) { + if (!strcmp(argv[i],"-wait")) + { sleep(6); } - if (!strcmp(argv[i],"-nolimit")) { - Config->unlimitcore = true; + if (!strcmp(argv[i],"-nolimit")) + { + printf("WARNING: The `-nolimit' option is deprecated, and now on by default. This behaviour may change in the future.\n"); } - if (!strcmp(argv[i],"-logfile")) { + if (!strcmp(argv[i],"-logfile")) + { if (argc > i+1) { strlcpy(LOG_FILE,argv[i+1],MAXBUF); -- cgit v1.2.3