Wren testing
This commit is contained in:
+6
-2
@@ -446,14 +446,18 @@ namespace command {
|
||||
return; // not really connected
|
||||
|
||||
cls.message.write_byte(clc_stringcmd);
|
||||
if (std::is_eq(common::strcasecmp(argv(0).value_or(""), "cmd"))) {
|
||||
if (std::is_neq(common::strcasecmp(argv(0).value_or(""), "cmd"))) {
|
||||
if (argc() > 1) {
|
||||
cls.message.write_string(std::format("{} {}", argv(0).value(), args()));
|
||||
} else {
|
||||
cls.message.write_string(std::format("{} \n", argv(0).value()));
|
||||
}
|
||||
} else {
|
||||
cls.message.write_string("\n");
|
||||
if (argc() > 1) {
|
||||
cls.message.write_string(std::format("{}", args()));
|
||||
} else {
|
||||
cls.message.write_string("\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user