Remove unused server flags CLOSE_PENDING and CLOSING_SERVER, rename LOGGED_IN to SF_LOGGED_IN
CLOSING_SERVER was never referenced outside of server.h where it's defined, and CLOSE_PENDING was cleared but never set by any code. Rename LOGGED_IN to namespace it (in anticipation of other flag variables in the server struct being consolidated into a set of server flags). Also put correct parantheses around the definition of SF_LOGGED_IN.
This commit is contained in:
@@ -415,9 +415,7 @@ struct sockaddr_foobar get_server_uh_addr (int);
|
||||
#define USER_MODE_Y USER_MODE << 24
|
||||
#define USER_MODE_Z USER_MODE << 25
|
||||
|
||||
#define LOGGED_IN USER_MODE << 29
|
||||
#define CLOSE_PENDING USER_MODE << 30
|
||||
#define CLOSING_SERVER USER_MODE << 31
|
||||
#define SF_LOGGED_IN (USER_MODE << 29)
|
||||
extern const char *umodes;
|
||||
|
||||
#define IMMED_SEND 0
|
||||
|
||||
Reference in New Issue
Block a user