summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-07 22:56:21 +0400
committerilotterytea <iltsu@alright.party>2025-04-07 22:56:21 +0400
commitcb2a0267da367bd1ce0559d4a1230a6e426d9e3c (patch)
treefd6eefd73ab6629ac381c0ba25571cdc515c60ef
parentd14a812e110a6938ed99d28c807594b31c5066ef (diff)
upd: just add empty arg when there is no message
-rw-r--r--bot/src/commands/response_error.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/src/commands/response_error.hpp b/bot/src/commands/response_error.hpp
index b89d38e..9e7c612 100644
--- a/bot/src/commands/response_error.hpp
+++ b/bot/src/commands/response_error.hpp
@@ -144,6 +144,8 @@ namespace bot {
if (this->message.has_value()) {
args.push_back(" " + this->message.value());
+ } else {
+ args.push_back("");
}
this->line =