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) if (!strcasecmp (msg, "VERSION") && !prefs.hidever)
{ {
snprintf (outbuf, sizeof (outbuf), "VERSION XChat-WDK "PACKAGE_VERSION" / %s", snprintf (outbuf, sizeof (outbuf), "VERSION XChat-WDK "PACKAGE_VERSION" [x%d] / %s",
get_cpu_str ()); get_cpu_arch (), get_cpu_str ());
serv->p_nctcp (serv, nick, outbuf); serv->p_nctcp (serv, nick, outbuf);
} }