diff options
| author | 2025-04-26 00:48:32 +0100 | |
|---|---|---|
| committer | 2025-04-26 00:48:32 +0100 | |
| commit | 40d2caaa12f87645b0e581c92006c5024246bce7 (patch) | |
| tree | 62c047a7ac5e01371706eafdf03e8f4507bfd3ec /src | |
| parent | Error out before sqlite3_prepare_v2 if the connection is null. (diff) | |
Fix the order of the the command list.
Diffstat (limited to 'src')
| -rw-r--r-- | src/coremods/core_info/cmd_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_info/cmd_commands.cpp b/src/coremods/core_info/cmd_commands.cpp index 371d83690..9866849f1 100644 --- a/src/coremods/core_info/cmd_commands.cpp +++ b/src/coremods/core_info/cmd_commands.cpp @@ -81,7 +81,7 @@ CmdResult CommandCommands::HandleLocal(LocalUser* user, const Params& parameters // Sort alphabetically by command name. std::sort(numerics.begin(), numerics.end(), [](const auto& lhs, const auto& rhs) { - return lhs.GetParams()[0] > rhs.GetParams()[0]; + return lhs.GetParams()[0] < rhs.GetParams()[0]; }); for (const auto& numeric : numerics) |
