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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user