mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 19:18:21 +00:00
[Commands] Cleanup #devtools Command. (#2538)
* [Commands] Cleanup #devtools Command. - Cleanup messages and logic. * Update client.cpp
This commit is contained in:
@@ -1725,8 +1725,8 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
||||
* DevTools Load Settings
|
||||
*/
|
||||
if (Admin() >= EQ::DevTools::GM_ACCOUNT_STATUS_LEVEL) {
|
||||
std::string dev_tools_window_key = StringFormat("%i-dev-tools-disabled", AccountID());
|
||||
if (DataBucket::GetData(dev_tools_window_key) == "true") {
|
||||
const auto dev_tools_key = fmt::format("{}-dev-tools-disabled", AccountID());
|
||||
if (DataBucket::GetData(dev_tools_key) == "true") {
|
||||
dev_tools_enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user