From c72f15bcf5328aa182ff65f8b27bc3b519369b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= Date: Tue, 6 May 2014 16:25:46 +0300 Subject: [PATCH] m_version: remove spaces from version string "to make it machine parseable again", as in ircd-seven commit 03b2176b88a1. --- include/messages.h | 2 +- modules/m_version.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/messages.h b/include/messages.h index 6e06e435..c5c399ef 100644 --- a/include/messages.h +++ b/include/messages.h @@ -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 :" diff --git a/modules/m_version.c b/modules/m_version.c index 9b36fb45..f19e8fb4 100644 --- a/modules/m_version.c +++ b/modules/m_version.c @@ -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);