Fix command .skirmish (#12149)

fix-issue-11966

Co-authored-by: Badanin Roman <r.badanin@etud.univ-pau.fr>
This commit is contained in:
r0m1ntik 2022-07-01 17:32:30 +02:00 committed by GitHub
parent 6bff66a9f6
commit 5e509344ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,9 +143,9 @@ public:
return commandTable;
}
static bool HandleSkirmishCommand(ChatHandler* handler, std::string_view args)
static bool HandleSkirmishCommand(ChatHandler* handler, std::vector<std::string_view> args)
{
auto tokens = Acore::Tokenize(args, ' ', true);
auto tokens = args;
if (args.empty() || !tokens.size())
{