]> jfr.im git - solanum.git/commitdiff
Remove the unused COMPRESSED flag and stats handler
authorJailBird <redacted>
Thu, 22 Dec 2022 21:55:58 +0000 (15:55 -0600)
committerDoug Freed <redacted>
Thu, 22 Dec 2022 22:23:00 +0000 (16:23 -0600)
- Null "compress" handler left as-is in newconf.c

include/s_newconf.h
modules/m_stats.c

index cf908d455ad75ffd65c91f971cb3b86113145775..d968701f8d5126941c3b091b7819f212b1e68aa6 100644 (file)
@@ -207,7 +207,6 @@ struct server_conf
 
 #define SERVER_ILLEGAL         0x0001
 #define SERVER_ENCRYPTED       0x0004
-#define SERVER_COMPRESSED      0x0008
 #define SERVER_TB              0x0010
 #define SERVER_AUTOCONN                0x0020
 #define SERVER_SSL             0x0040
@@ -216,7 +215,6 @@ struct server_conf
 
 #define ServerConfIllegal(x)   ((x)->flags & SERVER_ILLEGAL)
 #define ServerConfEncrypted(x) ((x)->flags & SERVER_ENCRYPTED)
-#define ServerConfCompressed(x)        ((x)->flags & SERVER_COMPRESSED)
 #define ServerConfTb(x)                ((x)->flags & SERVER_TB)
 #define ServerConfAutoconn(x)  ((x)->flags & SERVER_AUTOCONN)
 #define ServerConfSCTP(x)      ((x)->flags & SERVER_SCTP)
index b67d8c307aae42acace007828cd51fd424e3f7b2..9530b26d23c963e939451df68b258d246822a996 100644 (file)
@@ -353,8 +353,6 @@ stats_connect(struct Client *source_p)
                                *s++ = 'S';
                        if(ServerConfTb(server_p))
                                *s++ = 'T';
-                       if(ServerConfCompressed(server_p))
-                               *s++ = 'Z';
                }
 
                if(s == buf)