1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Remove log.

This commit is contained in:
Sandu Liviu Catalin 2022-07-23 17:50:58 +03:00
parent 44243aadd2
commit 0d927f5d72

View File

@ -166,7 +166,6 @@ int32_t GetWeaponID(StackStrF & name)
str.erase(std::remove_if(str.begin(), str.end(), [](char c) -> bool { return std::isalnum(c) == 0; }), str.end()); str.erase(std::remove_if(str.begin(), str.end(), [](char c) -> bool { return std::isalnum(c) == 0; }), str.end());
// Convert the string to lowercase // Convert the string to lowercase
std::transform(str.begin(), str.end(), str.begin(), ::tolower); std::transform(str.begin(), str.end(), str.begin(), ::tolower);
LogInf("%s", str.c_str());
// See if we still have a valid name after the cleanup // See if we still have a valid name after the cleanup
if(str.length() < 1) if(str.length() < 1)
{ {