summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-04 05:53:22 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-04 05:53:22 +0000
commit7db1335b25f6a6cc884368138df4d16a1cafd493 (patch)
treef95174ca490c936196503c394f64e4d6553b1e91 /src
parent0fb892afc919bec668f6aa24ca984e663e38955c (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp14
1 files changed, 9 insertions, 5 deletions
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);