]> jfr.im git - solanum.git/blobdiff - modules/m_version.c
Remove trailing whitespace from all .c and .h files.
[solanum.git] / modules / m_version.c
index 34002f836557c470fc4c159d012e30062bc2b604..52257edcfa8199c099cc7344445112ae55fe3a82 100644 (file)
@@ -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
@@ -96,7 +94,10 @@ mo_version(struct Client *client_p, struct Client *source_p, int parc, const cha
        if(hunt_server(client_p, source_p, ":%s VERSION :%s", 1, parc, parv) == HUNTED_ISME)
        {
                sendto_one_numeric(source_p, RPL_VERSION, form_str(RPL_VERSION),
-                                  ircd_version, serno, 
+                                  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';