Skip to content

Commit

Permalink
USERINFO: Add *rsn
Browse files Browse the repository at this point in the history
Add ruleset name to the client's userinfo string.
  • Loading branch information
osm committed Jan 29, 2025
1 parent 211fad6 commit 76ccf9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rulesets.c
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ static void Rulesets_OnChange_ruleset(cvar_t *var, char *value, qbool *cancel)

Cmd_ReInitAllMacro();
IN_ClearProtectedKeys();
Info_SetValueForStarKey(cls.userinfo, "*rsn", value, MAX_INFO_STRING);
}

int Rulesets_MaxSequentialWaitCommands(void)
Expand Down

0 comments on commit 76ccf9b

Please sign in to comment.