summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-04 17:52:09 +0000
committerSadie Powell <sadie@witchery.services>2024-01-04 17:52:30 +0000
commit1c30f69bd035f158ab83a9a39f688222cf7a58ff (patch)
tree3adce57ae72df2273ac100f9f7d67e01f90ae4bd
parent36c43683e5123980800091414d28e0ac67c4829a (diff)
Fix a typo in GetCommandLineArgument.
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index a0c46cb2f..9875fbb44 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -75,7 +75,7 @@ static bool GetCommandLineArgument(const Anope::string &name, char shortname, An
{
if (argument.equals_ci(name) || (argument.length() == 1 && argument[0] == shortname))
{
- param = argument;
+ param = value;
return true;
}
}