diff --git a/amxmodx/srvcmd.cpp b/amxmodx/srvcmd.cpp index 51992cba..03a9b63d 100755 --- a/amxmodx/srvcmd.cpp +++ b/amxmodx/srvcmd.cpp @@ -79,10 +79,15 @@ void amx_command() print_srvconsole(" Name: %s\n", plugin->getTitle()); print_srvconsole(" Version: %s\n", plugin->getVersion()); print_srvconsole(" Author: %s\n", plugin->getAuthor()); - print_srvconsole(" URL: %s\n", plugin->getUrl()); + + auto url = plugin->getDescription(); + if (url[0]) + { + print_srvconsole(" URL: %s\n", plugin->getUrl()); + } auto description = plugin->getDescription(); - if (description[0] != '\0') + if (description[0]) { print_srvconsole(" Description: %s\n", description); }