diff --git a/scripting/l4d2_vocalize_control.sp b/scripting/l4d2_vocalize_control.sp index 1b7e2f5..75e8ba6 100644 --- a/scripting/l4d2_vocalize_control.sp +++ b/scripting/l4d2_vocalize_control.sp @@ -97,6 +97,7 @@ public Action SoundHook(int[] clients, int& numClients, char sample[PLATFORM_MAX for(int i = 0; i < numClients; i++) { int client = clients[i]; if(gaggedPlayers[client].FindValue(entity) > -1) { + // Swap gagged player to end of list, then remove it (dec. numClients is effectively same) int swap = clients[numClients - 1]; clients[numClients - 1] = client; clients[i] = swap; diff --git a/scripting/l4d_reservetheserver.sp b/scripting/l4d_reservetheserver.sp index 9e3ca98..c09c607 100644 --- a/scripting/l4d_reservetheserver.sp +++ b/scripting/l4d_reservetheserver.sp @@ -40,8 +40,8 @@ public void OnPluginStart() { PluginCvarTimeout = CreateConVar("l4d_rts_timeout", "30", "How long will the server stay disconnected from matchmaking? 0 - never restore matchmaking connection", 0, true, 0.0, true, 300.0); PluginCvarImmuneLevel = CreateConVar("l4d_rts_immunelevel", "1", "Any player >= to this level will cancel the lobby vote.", 0); - RegAdminCmd("sm_rts", Command_MakeReservation, ADMFLAG_ROOT, "Free the server from all players, then reserve it."); - RegAdminCmd("sm_cr", Command_CancelReservation, ADMFLAG_ROOT, "Cancel reservation and make server public again."); + RegAdminCmd("sm_rts", Command_MakeReservation, ADMFLAG_BAN, "Free the server from all players, then reserve it."); + RegAdminCmd("sm_cr", Command_CancelReservation, ADMFLAG_BAN, "Cancel reservation and make server public again."); SteamGroupExclusiveCvar = FindConVar("sv_steamgroup_exclusive"); SearchKeyCvar = FindConVar("sv_search_key");