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
1 changed files with 2 additions and 2 deletions

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