From fbee94cb811a0207d80787d11d4f364dfb877b1d Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 20 Nov 2017 18:40:31 -0500 Subject: [PATCH] Remove arch from CTCP VERSION on win32 Also probably not useful information. --- src/common/ctcp.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/common/ctcp.c b/src/common/ctcp.c index a48f9a74..6faa8230 100644 --- a/src/common/ctcp.c +++ b/src/common/ctcp.c @@ -91,7 +91,6 @@ ctcp_handle (session *sess, char *to, char *nick, char *ip, char *po; session *chansess; server *serv = sess->server; - char outbuf[1024]; int ctcp_offset = 2; if (serv->have_idmsg && (word[4][1] == '+' || word[4][1] == '-') ) @@ -138,13 +137,7 @@ ctcp_handle (session *sess, char *to, char *nick, char *ip, if (!g_ascii_strcasecmp (msg, "VERSION") && !prefs.hex_irc_hide_version) { -#ifdef WIN32 - g_snprintf (outbuf, sizeof (outbuf), "VERSION HexChat "PACKAGE_VERSION" [x%d]", - get_cpu_arch ()); -#else - g_snprintf (outbuf, sizeof (outbuf), "VERSION HexChat "PACKAGE_VERSION); -#endif - serv->p_nctcp (serv, nick, outbuf); + serv->p_nctcp (serv, nick, "VERSION HexChat "PACKAGE_VERSION); } if (word[4][1] == '\0')