make ctcp version info more informative

This commit is contained in:
berkeviktor@aol.com 2010-08-13 18:32:32 +02:00
parent 2f3d1e01e3
commit 25a2f8b8c9
1 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/chanopt.c xchat-wdk/src/
#include <fcntl.h> #include <fcntl.h>
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/ctcp.c xchat-wdk/src/common/ctcp.c diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/ctcp.c xchat-wdk/src/common/ctcp.c
--- xchat-wdk.orig/src/common/ctcp.c 2010-05-30 04:28:04 +0200 --- xchat-wdk.orig/src/common/ctcp.c 2010-05-30 04:28:04 +0200
+++ xchat-wdk/src/common/ctcp.c 2010-08-10 16:29:30 +0200 +++ xchat-wdk/src/common/ctcp.c 2010-08-13 18:31:51 +0200
@@ -18,7 +18,6 @@ @@ -18,7 +18,6 @@
#include <stdio.h> #include <stdio.h>
@ -213,7 +213,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/ctcp.c xchat-wdk/src/com
if (!strcasecmp (msg, "VERSION") && !prefs.hidever) if (!strcasecmp (msg, "VERSION") && !prefs.hidever)
{ {
- snprintf (outbuf, sizeof (outbuf), "VERSION xchat "PACKAGE_VERSION" %s", - snprintf (outbuf, sizeof (outbuf), "VERSION xchat "PACKAGE_VERSION" %s",
+ snprintf (outbuf, sizeof (outbuf), "VERSION xchat-wdk "PACKAGE_VERSION" %s", + snprintf (outbuf, sizeof (outbuf), "VERSION xchat-wdk "PACKAGE_VERSION" ("PACKAGE_TARNAME") %s",
get_cpu_str ()); get_cpu_str ());
serv->p_nctcp (serv, nick, outbuf); serv->p_nctcp (serv, nick, outbuf);
} }