From: JailBird Date: Thu, 22 Dec 2022 21:55:58 +0000 (-0600) Subject: Remove the unused COMPRESSED flag and stats handler X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/6f4dfd9c78c4503a91ed548f61f1d1e464ee9c61?hp=f26681c735449815752dbc6ae7960235f97c7aa9 Remove the unused COMPRESSED flag and stats handler - Null "compress" handler left as-is in newconf.c --- diff --git a/include/s_newconf.h b/include/s_newconf.h index cf908d45..d968701f 100644 --- a/include/s_newconf.h +++ b/include/s_newconf.h @@ -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) diff --git a/modules/m_stats.c b/modules/m_stats.c index b67d8c30..9530b26d 100644 --- a/modules/m_stats.c +++ b/modules/m_stats.c @@ -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)