]> jfr.im git - solanum.git/blobdiff - modules/m_version.c
Replace RPL_WHOISTEXT(337) with RPL_WHOISSPECIAL(320) (#419)
[solanum.git] / modules / m_version.c
index 597249a8db4b2306e6efe1e1f8d563f8e5b532e7..d9f7c76918985ceb6b0fa1ae77aba406fda531cf 100644 (file)
@@ -81,8 +81,7 @@ m_version(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sourc
 #ifdef CUSTOM_BRANDING
                           PACKAGE_NAME "-" PACKAGE_VERSION,
 #endif
-                          me.name, confopts(), TS_CURRENT,
-                          ServerInfo.sid);
+                          me.name, confopts(), TS_CURRENT);
 
        show_isupport(source_p);
 }
@@ -101,8 +100,7 @@ mo_version(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sour
 #ifdef CUSTOM_BRANDING
                                   PACKAGE_NAME "-" PACKAGE_VERSION,
 #endif
-                                  me.name, confopts(), TS_CURRENT,
-                                  ServerInfo.sid);
+                                  me.name, confopts(), TS_CURRENT);
                show_isupport(source_p);
        }
 }
@@ -124,10 +122,6 @@ confopts(void)
        if(ConfigChannel.use_except)
                *p++ = 'e';
 
-       /* might wanna hide this :P */
-       if(ServerInfo.hub)
-               *p++ = 'H';
-
        if(ConfigChannel.use_invex)
                *p++ = 'I';
 
@@ -139,17 +133,12 @@ confopts(void)
 
        if(opers_see_all_users || ConfigFileEntry.operspy_dont_care_user_info)
                *p++ = 'S';
-#ifdef IGNORE_BOGUS_TS
-       *p++ = 'T';
-#endif
 
 #ifdef HAVE_LIBZ
        *p++ = 'Z';
 #endif
 
-#ifdef RB_IPV6
        *p++ = '6';
-#endif
 
        *p = '\0';