multiple fixes
[NeonServV5.git] / src / modules / global.mod / cmd_global_version.c
index 307e34c299a51a66b71e2b65cc0123614cad05da..1faaf38bb682243b3c814e650d5a3cac2801f14b 100644 (file)
@@ -22,8 +22,8 @@
 */
 
 CMD_BIND(global_cmd_version) {
-    reply(getTextBot(), user, "\002NeonServ %s.%d\002 (%s), written by pk910", NEONSERV_VERSION, patchlevel, (strcmp(revision, "") ? revision : "-"));
-    reply(getTextBot(), user, "Build (#%s) %s (%s lines, " COMPILER ")", compilation, creation, codelines);
+    reply(getTextBot(), user, "\002NeonServ %s.%d\002 (%s), written by pk910", NEONSERV_VERSION, get_patchlevel(), (strcmp(get_revision(), "") ? get_revision() : "-"));
+    reply(getTextBot(), user, "Build (#%s) %s (%s lines, " COMPILER ")", get_compilation(), get_creation(), get_codelines());
     reply(getTextBot(), user, "NeonServ can be found on: http://dev.pk910.de/NeonServ");
     //helpers :D
     reply(getTextBot(), user, "special thanks to:");