From 46e6d10b6f9e4fe587850c437919a2d9f72dee7b Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Thu, 24 Apr 2025 05:34:28 +1000 Subject: [PATCH] Allow server console to vcall any command Bypassing sv_vote_commands is occasionally useful or fun. --- qcsrc/server/command/vote.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index e2df71b7ff..c58e5f48d6 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -751,7 +751,7 @@ int VoteCommand_parse(entity caller, string vote_command, string vote_list, floa if (autocvar_sv_vote_limit > 0 && strlen(vote_command) > autocvar_sv_vote_limit) return 0; - if (!VoteCommand_checkinlist(first_command, vote_list)) return 0; + if (caller && !VoteCommand_checkinlist(first_command, vote_list)) return 0; if (!VoteCommand_checkargs(startpos, argc)) return 0; -- 2.39.5