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/init.cpp | |
parent | e30370af107e4ae46c5287c7cfa01b679bcc25b3 (diff) |
Removed the --log command line option because its no longer necessary, and updated example.conf
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 8 |
1 files changed, 0 insertions, 8 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) { |