summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-05-30 21:24:36 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-05-30 21:24:36 +0200
commita795b5ced9815579611908e4d3f1be2557e152ef (patch)
treec4fd89ade18abda881b1d313bfe102ebfe6f49a9 /src
parentb85f311ddd7a1275e49289ba935617a163062790 (diff)
display build type in CTCP VERSION reply
Diffstat (limited to 'src')
-rw-r--r--src/common/ctcp.c4
1 files changed, 2 insertions, 2 deletions
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);
 	}