*** VERSION 5.2.0 ***
[NeonServV5.git] / src / bots.c
index bd7f4a68e96588b7e38397d5406882f530f6d7c7..21d43a06d5f208e22e7ff7eb96378037ad3ba671 100644 (file)
@@ -1,4 +1,4 @@
-/* bots.c - NeonServ v5.1
+/* bots.c - NeonServ v5.2
  * Copyright (C) 2011  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -111,11 +111,11 @@ void general_event_privctcp(struct UserNode *user, struct UserNode *target, char
 
 static int general_ctcp(char *buffer, char *command, char *text) {
     if(!stricmp(command, "VERSION")) {
-        sprintf(buffer, "VERSION NeonServ v" NEONSERV_VERSION " by pk910 (%s)", (strcmp(revision, "") ? revision : "-"));
+        sprintf(buffer, "VERSION NeonServ v%s.%d by pk910 (%s)", NEONSERV_VERSION, patchlevel, (strcmp(revision, "") ? revision : "-"));
         return 1;
     }
     if(!stricmp(command, "FINGER")) {
-        sprintf(buffer, "FINGER NeonServ v" NEONSERV_VERSION " (%s) build %s lines C code using " COMPILER " (see +netinfo)", (strcmp(revision, "") ? revision : "-"), codelines);
+        sprintf(buffer, "FINGER NeonServ v%s.%d (%s) build %s lines C code using " COMPILER " (see +netinfo)", NEONSERV_VERSION, patchlevel, (strcmp(revision, "") ? revision : "-"), codelines);
         return 1;
     }
     if(!stricmp(command, "PING")) {