Revert "Creating a variable inside an if statement (C++17)"

This reverts commit 835e0bc6c413f11b1bbf964daea87b57f653f5d7.
This commit is contained in:
KaidoRen 2019-05-15 08:19:06 +05:00
parent 4fea34535f
commit 3991cb1165

View File

@ -84,7 +84,8 @@ void amx_command()
print_srvconsole(" URL: %s\n", plugin->getUrl());
}
if (auto description = plugin->getDescription(); description[0])
auto description = plugin->getDescription();
if (description[0] != '\0')
{
print_srvconsole(" Description: %s\n", description);
}