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(-) 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