summaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-08-01 13:42:35 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-08-01 13:42:35 -0400
commitd59c1b95e18fd5c9bbec14b8b1b8aab989a3bce7 (patch)
tree94471c29e06725ce1d28ee11ae408084cfd82d41 /src/init.cpp
parent2f6c0e435cbceb60c219f9f1cd925ae4ddffd4d9 (diff)
Cleanup in main.cpp.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 7388f7e79..811981a32 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -225,25 +225,25 @@ int init_primary(int ac, char **av)
}
if (GetCommandLineArgument("nofork", 'n'))
- nofork = 1;
+ nofork = true;
if (GetCommandLineArgument("support", 's'))
{
- nofork = nothird = 1;
+ nofork = nothird = true;
++debug;
}
if (GetCommandLineArgument("readonly", 'r'))
- readonly = 1;
+ readonly = true;
if (GetCommandLineArgument("nothird"))
- nothird = 1;
+ nothird = true;
if (GetCommandLineArgument("noexpire", 'e'))
- noexpire = 1;
+ noexpire = true;
if (GetCommandLineArgument("protocoldebug"))
- protocoldebug = 1;
+ protocoldebug = true;
Anope::string Arg;
if (GetCommandLineArgument("debug", 'd', Arg))