-/* cmd_neonserv_netinfo.c - NeonServ v5.0
+/* cmd_neonserv_netinfo.c - NeonServ v5.2
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
table_add(table, content);
if(strcmp(revision, ""))
- sprintf(tmp, "%s (%s)", NEONSERV_VERSION, revision);
+ sprintf(tmp, "%s.%d (%s)", NEONSERV_VERSION, patchlevel, revision);
else
- strcpy(tmp, NEONSERV_VERSION);
+ sprintf(tmp, "%s.%d", NEONSERV_VERSION, patchlevel);
content[0] = get_language_string(user, "NS_NETINFO_VERSION");
content[1] = tmp;
table_add(table, content);