summary refs log tree commit diff stats
path: root/src/common/ctcp.c
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-07-28 01:17:44 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-07-28 01:17:44 +0200
commit88a9f72d177076566899884e5a2230ae25a1911f (patch)
tree3b56ef20553dc88f1b0fa419a7bd7a36c874f7e9 /src/common/ctcp.c
parent1fa63a74016444efc1cc68bca26eb011865348d8 (diff)
parent96caff1fbdf201164339e5e94fde04d8cb7968e8 (diff)
Merge with default
Diffstat (limited to 'src/common/ctcp.c')
-rw-r--r--src/common/ctcp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/ctcp.c b/src/common/ctcp.c
index 574cda79..37392372 100644
--- a/src/common/ctcp.c
+++ b/src/common/ctcp.c
@@ -18,7 +18,6 @@
 
 #include <stdio.h>
 #include <string.h>
-#include <unistd.h>
 #include <stdlib.h>
 
 #include "xchat.h"
@@ -134,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 "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);
 	}