aboutsummaryrefslogtreecommitdiff
path: root/frontend/Player.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 01:29:58 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 01:29:58 +0100
commitb9e738502260b8f448289c9888203971c7749c76 (patch)
tree09477251ba49307173a112e0cd5dbdd3633346ce /frontend/Player.cpp
parente4261302944303781c952943e3290c99e2cabc52 (diff)
WIP SQL gedoe
Diffstat (limited to 'frontend/Player.cpp')
-rw-r--r--frontend/Player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/Player.cpp b/frontend/Player.cpp
index 9ecbd08..d9974f7 100644
--- a/frontend/Player.cpp
+++ b/frontend/Player.cpp
@@ -43,12 +43,12 @@ void Player::cmdset_death() {
FollowupAction Player::cmd(Argv argv) {
if (argv.size() == 0) return FollowupAction::NONE;
- string cmd = argv_pop(argv);
+ string cmd = str_title(argv_pop(argv));
if (this->cmds.contains(cmd))
return (this->*cmds.at(cmd))(argv);
- print_string(strings::UNKNOWN_CMD);
+ str_print(strings::UNKNOWN_CMD);
return FollowupAction::NONE;
}