add constants for WHOX queries

This commit is contained in:
Ailin Nemui 2021-02-27 21:30:29 +01:00
commit b957d3ad4b
3 changed files with 32 additions and 14 deletions

View file

@ -19,6 +19,10 @@ enum {
CHANNEL_QUERIES
};
/* arbitrary 3-digit identifiers so we can find our WHOX responses */
#define WHOX_CHANNEL_FULL_ID "743"
#define WHOX_USERACCOUNT_ID "745"
#define CHANNEL_IS_MODE_QUERY(a) ((a) != CHANNEL_QUERY_WHO)
#define STRUCT_SERVER_REC IRC_SERVER_REC