1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 00:36:37 +02:00

Fix wrong error message when --dbdir has no argument

This commit is contained in:
attilamolnar
2012-10-09 23:31:20 +02:00
parent 8f5d786f0e
commit 912f068fe4
+1 -1
View File
@@ -384,7 +384,7 @@ void Init(int ac, char **av)
if (GetCommandLineArgument("dbdir", 0, Arg))
{
if (Arg.empty())
throw FatalException("The --confdir option requires a path");
throw FatalException("The --dbdir option requires a path");
db_dir = Arg;
}