Uppercase on/off text on server logo toggle

This commit is contained in:
Vortrex
2020-12-27 22:35:35 -06:00
parent 812462b0ea
commit 84f70c7c6f

View File

@@ -453,7 +453,7 @@ function toggleServerLogoCommand(command, params, client) {
triggerNetworkEvent("ag.logo", null, intToBool(getServerConfig().useLogo));
messageAdminAction(`${client.name} turned the server logo image ${getBoolRedGreenInlineColour(getServerConfig().useLogo)}${toLowerCase(getOnOffFromBool(getServerConfig().useLogo))}`);
messageAdminAction(`${client.name} turned the server logo image ${getBoolRedGreenInlineColour(getServerConfig().useLogo)}${toUpperCase(getOnOffFromBool(getServerConfig().useLogo))}`);
updateServerRules();
return true;
}