summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp8
-rw-r--r--src/main.cpp1
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 */