m_version: remove spaces from version string

"to make it machine parseable again", as in ircd-seven commit 03b2176b88a1.
This commit is contained in:
Mantas Mikulėnas 2014-05-06 16:25:46 +03:00
parent 0f4ed4058d
commit c72f15bcf5
2 changed files with 3 additions and 3 deletions

View file

@ -117,7 +117,7 @@
#ifndef CUSTOM_BRANDING
#define NUMERIC_STR_351 "%s(%s). %s :%s TS%dow %s"
#else
#define NUMERIC_STR_351 "%s(%s, %s). %s :%s TS%dow %s"
#define NUMERIC_STR_351 "%s(%s,%s). %s :%s TS%dow %s"
#endif
#define NUMERIC_STR_352 ":%s 352 %s %s %s %s %s %s %s :%d %s"
#define NUMERIC_STR_353 ":%s 353 %s %s %s :"

View file

@ -77,7 +77,7 @@ m_version(struct Client *client_p, struct Client *source_p, int parc, const char
sendto_one_numeric(source_p, RPL_VERSION, form_str(RPL_VERSION),
ircd_version, serno,
#ifdef CUSTOM_BRANDING
PACKAGE_NAME " " PACKAGE_VERSION,
PACKAGE_NAME "-" PACKAGE_VERSION,
#endif
me.name, confopts(source_p), TS_CURRENT,
ServerInfo.sid);
@ -99,7 +99,7 @@ mo_version(struct Client *client_p, struct Client *source_p, int parc, const cha
sendto_one_numeric(source_p, RPL_VERSION, form_str(RPL_VERSION),
ircd_version, serno,
#ifdef CUSTOM_BRANDING
PACKAGE_NAME " " PACKAGE_VERSION,
PACKAGE_NAME "-" PACKAGE_VERSION,
#endif
me.name, confopts(source_p), TS_CURRENT,
ServerInfo.sid);