summaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
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))