mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-04-08 18:50:09 +03:00
Revert "Creating a variable inside an if statement (C++17)"
This reverts commit 835e0bc6c413f11b1bbf964daea87b57f653f5d7.
This commit is contained in:
parent
4fea34535f
commit
3991cb1165
@ -84,7 +84,8 @@ void amx_command()
|
|||||||
print_srvconsole(" URL: %s\n", plugin->getUrl());
|
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);
|
print_srvconsole(" Description: %s\n", description);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user