diff --git a/engine/common/cmd.c b/engine/common/cmd.c index 741cb02f..21e2a16b 100644 --- a/engine/common/cmd.c +++ b/engine/common/cmd.c @@ -949,7 +949,7 @@ static void Cmd_Else_f( void ) static qboolean Cmd_ShouldAllowCommand( cmd_t *cmd, qboolean isPrivileged ) { - const char *prefixes[] = { "cl_", "gl_", "r_", "m_", "hud_" }; + const char *prefixes[] = { "cl_", "gl_", "r_", "m_", "hud_", "joy_" }; int i; // always allow local commands diff --git a/engine/common/cvar.c b/engine/common/cvar.c index 6c890d22..774e0263 100644 --- a/engine/common/cvar.c +++ b/engine/common/cvar.c @@ -953,7 +953,7 @@ static void Cvar_SetGL( const char *name, const char *value ) static qboolean Cvar_ShouldSetCvar( convar_t *v, qboolean isPrivileged ) { - const char *prefixes[] = { "cl_", "gl_", "m_", "r_", "hud_" }; + const char *prefixes[] = { "cl_", "gl_", "m_", "r_", "hud_", "joy_" }; int i; if( isPrivileged )