Skip to content

Commit

Permalink
Adjust WZCHATCMD output ordering to add new field at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Mar 26, 2023
1 parent 2f05436 commit ddbc121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multilobbycommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ bool processChatLobbySlashCommands(const NetworkTextMessage& message, HostLobbyO
std::string messagetext = message.text;
std::string messagetext64 = base64Encode(std::vector<unsigned char>(messagetext.begin(), messagetext.end()));
debug(LOG_INFO, "message [%s] [%s]", senderhash.c_str(), message.text);
wz_command_interface_output("WZCHATCMD: %i %s %s %s %s %s %s\n", message.sender, NetPlay.players[message.sender].IPtextAddress, senderhash.c_str(), senderPublicKeyB64.c_str(), senderVerifiedStatus.c_str(), sendername64.c_str(), messagetext64.c_str());
wz_command_interface_output("WZCHATCMD: %i %s %s %s %s %s %s\n", message.sender, NetPlay.players[message.sender].IPtextAddress, senderhash.c_str(), senderPublicKeyB64.c_str(), sendername64.c_str(), messagetext64.c_str(), senderVerifiedStatus.c_str());
if (strcmp(&message.text[LOBBY_COMMAND_PREFIX_LENGTH], "help") == 0)
{
lobbyCommand_PrintHelp(static_cast<uint32_t>(message.sender));
Expand Down

0 comments on commit ddbc121

Please sign in to comment.