diff options
author | Adam <Adam@anope.org> | 2010-09-12 00:02:22 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-12 00:02:22 -0400 |
commit | 47872e53ed39c45c1718f142367f6a2ee5d049e7 (patch) | |
tree | ac108ae8209d859c4676c221e01f73d09e9f763c /src | |
parent | e30370af107e4ae46c5287c7cfa01b679bcc25b3 (diff) |
Removed the --log command line option because its no longer necessary, and updated example.conf
Diffstat (limited to 'src')
-rw-r--r-- | src/init.cpp | 8 | ||||
-rw-r--r-- | src/main.cpp | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/init.cpp b/src/init.cpp index 0f6163dd4..1de213a11 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -235,7 +235,6 @@ void Init(int ac, char **av) Log(LOG_TERMINAL) << "-d, --debug[=level]"; Log(LOG_TERMINAL) << " --dir=services_directory"; Log(LOG_TERMINAL) << "-h, --help"; - Log(LOG_TERMINAL) << " --log=log_filename"; Log(LOG_TERMINAL) << "-e, --noexpire"; Log(LOG_TERMINAL) << "-n, --nofork"; Log(LOG_TERMINAL) << " --nothird"; @@ -299,13 +298,6 @@ void Init(int ac, char **av) services_dir = Arg; } - if (GetCommandLineArgument("log", 0, Arg)) - { - if (Arg.empty()) - throw FatalException("The --log option requires a file name"); - log_filename = Arg; - } - /* Chdir to Services data directory. */ if (chdir(services_dir.c_str()) < 0) { diff --git a/src/main.cpp b/src/main.cpp index b7fd536e9..26ebd65ba 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,7 +40,6 @@ Anope::string services_dir; /* -dir dirname */ Anope::string services_bin; /* Binary as specified by the user */ Anope::string orig_cwd; /* Original current working directory */ -Anope::string log_filename = "services.log"; /* -log filename */ int debug = 0; /* -debug */ bool readonly = false; /* -readonly */ bool nofork = false; /* -nofork */ |