1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-22 15:48:52 -05:00

display build type in CTCP VERSION reply

This commit is contained in:
berkeviktor@aol.com 2011-05-30 21:24:36 +02:00
parent b85f311ddd
commit a795b5ced9

View File

@ -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);
}