From d03d6e606b40157d910ddf99ab018156abeb8ef0 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Mon, 28 Feb 2011 18:59:32 +0100 Subject: add wdk changes to named branch --- src/common/ctcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/common/ctcp.c') diff --git a/src/common/ctcp.c b/src/common/ctcp.c index 574cda79..a1d70049 100644 --- a/src/common/ctcp.c +++ b/src/common/ctcp.c @@ -18,7 +18,6 @@ #include #include -#include #include #include "xchat.h" @@ -134,7 +133,7 @@ ctcp_handle (session *sess, char *to, char *nick, char *ip, if (!strcasecmp (msg, "VERSION") && !prefs.hidever) { - snprintf (outbuf, sizeof (outbuf), "VERSION xchat "PACKAGE_VERSION" %s", + snprintf (outbuf, sizeof (outbuf), "VERSION XChat-WDK "PACKAGE_VERSION" / %s", get_cpu_str ()); serv->p_nctcp (serv, nick, outbuf); } -- cgit 1.4.1 From a795b5ced9815579611908e4d3f1be2557e152ef Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Mon, 30 May 2011 21:24:36 +0200 Subject: display build type in CTCP VERSION reply --- src/common/ctcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/ctcp.c') diff --git a/src/common/ctcp.c b/src/common/ctcp.c index a1d70049..37392372 100644 --- a/src/common/ctcp.c +++ b/src/common/ctcp.c @@ -133,8 +133,8 @@ ctcp_handle (session *sess, char *to, char *nick, char *ip, if (!strcasecmp (msg, "VERSION") && !prefs.hidever) { - snprintf (outbuf, sizeof (outbuf), "VERSION XChat-WDK "PACKAGE_VERSION" / %s", - get_cpu_str ()); + snprintf (outbuf, sizeof (outbuf), "VERSION XChat-WDK "PACKAGE_VERSION" [x%d] / %s", + get_cpu_arch (), get_cpu_str ()); serv->p_nctcp (serv, nick, outbuf); } -- cgit 1.4.1