1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 17:16:39 +02:00

Cleanup in main.cpp.

This commit is contained in:
Naram Qashat
2010-08-01 13:42:35 -04:00
parent 2f6c0e435c
commit d59c1b95e1
12 changed files with 50 additions and 54 deletions
+6 -6
View File
@@ -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))