Use id not name in dz makeleader world msg

This commit is contained in:
hg
2020-11-06 20:36:40 -05:00
parent e5916c5c03
commit 738fd48163
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -6986,7 +6986,7 @@ void command_dz(Client* c, const Seperator* sep)
{
auto char_name = FormatName(sep->arg[3]);
c->Message(Chat::White, fmt::format("Setting expedition [{}] leader to [{}]", expedition_id, char_name).c_str());
expedition->SendWorldMakeLeaderRequest(c->GetName(), char_name);
expedition->SendWorldMakeLeaderRequest(c->CharacterID(), char_name);
}
else
{