diff --git a/src/discord.c b/src/discord.c index 91c06ba1..1b2ef625 100644 --- a/src/discord.c +++ b/src/discord.c @@ -231,9 +231,6 @@ static void DRPC_HandleJoinRequest(const DiscordUser *requestUser) newRequest = Z_Calloc(sizeof(discordRequest_t), PU_STATIC, NULL); - // Discord requests expire after 30 seconds - newRequest->timer = (30*TICRATE)-1; - newRequest->username = Z_Calloc(344, PU_STATIC, NULL); snprintf(newRequest->username, 344, "%s", requestUser->username); diff --git a/src/discord.h b/src/discord.h index ec47ec91..97c5557b 100644 --- a/src/discord.h +++ b/src/discord.h @@ -29,7 +29,6 @@ extern struct discordInfo_s { } discordInfo; typedef struct discordRequest_s { - tic_t timer; // Tics left on the request before it expires. char *username; // Discord user name. char *discriminator; // Discord discriminator (The little hashtag thing after the username). Separated for a "hide discriminators" cvar. char *userID; // The ID of the Discord user, gets used with Discord_Respond()