X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/e3354945168e45e49cc0716349d44837eef96db1..b225bf93b7eaf8d4d6b1ac172463d280b48a782f:/modules/m_version.c diff --git a/modules/m_version.c b/modules/m_version.c index e9446076..fcd99196 100644 --- a/modules/m_version.c +++ b/modules/m_version.c @@ -51,7 +51,6 @@ DECLARE_MODULE_AV1(version, NULL, NULL, version_clist, NULL, NULL, "$Revision: 1 /* * m_version - VERSION command handler - * parv[0] = sender prefix * parv[1] = remote server */ static int @@ -87,7 +86,6 @@ m_version(struct Client *client_p, struct Client *source_p, int parc, const char /* * mo_version - VERSION command handler - * parv[0] = sender prefix * parv[1] = remote server */ static int @@ -97,6 +95,9 @@ 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, +#endif me.name, confopts(source_p), TS_CURRENT, ServerInfo.sid); show_isupport(source_p); @@ -122,10 +123,6 @@ confopts(struct Client *source_p) if(ConfigChannel.use_except) *p++ = 'e'; - if(ConfigFileEntry.glines) - *p++ = 'g'; - *p++ = 'G'; - /* might wanna hide this :P */ if(ServerInfo.hub) *p++ = 'H'; @@ -149,7 +146,7 @@ confopts(struct Client *source_p) *p++ = 'Z'; #endif -#ifdef IPV6 +#ifdef RB_IPV6 *p++ = '6'; #endif