Rename listclientaddon to listlocaladdon

This commit is contained in:
Benau 2019-12-03 14:04:33 +08:00
parent 1c82f5fd7e
commit a3c6c63be8

View File

@ -1566,12 +1566,12 @@ void ClientLobby::handleClientCommand(const std::string& cmd)
} }
} }
} }
else if (argv[0] == "listclientaddon") else if (argv[0] == "listlocaladdon")
{ {
if (argv.size() != 2) if (argv.size() != 2)
{ {
NetworkingLobby::getInstance()->addMoreServerInfo( NetworkingLobby::getInstance()->addMoreServerInfo(
L"Usage: /listclientaddon [addon prefix letter(s) to find]"); L"Usage: /listlocaladdon [addon prefix letter(s) to find]");
} }
else else
{ {
@ -1618,7 +1618,7 @@ void ClientLobby::handleClientCommand(const std::string& cmd)
{ {
msg = msg.substr(0, msg.size() - 2); msg = msg.substr(0, msg.size() - 2);
NetworkingLobby::getInstance()->addMoreServerInfo( NetworkingLobby::getInstance()->addMoreServerInfo(
(std::string("Client addon: ") + msg).c_str()); (std::string("Local addon: ") + msg).c_str());
} }
} }
} }