summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MCServer/Plugins/ProtectionAreas/HookHandlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/ProtectionAreas/HookHandlers.lua b/MCServer/Plugins/ProtectionAreas/HookHandlers.lua
index 21ac6ef4d..4f1e3755e 100644
--- a/MCServer/Plugins/ProtectionAreas/HookHandlers.lua
+++ b/MCServer/Plugins/ProtectionAreas/HookHandlers.lua
@@ -24,7 +24,7 @@ function OnDisconnect(a_Player, a_Reason)
g_PlayerAreas[a_Player:GetName()] = nil;
-- If the player is a VIP, they had a command state, remove that as well
- CommandStates[a_Player:GetUniqueID()] = nil;
+ g_CommandStates[a_Player:GetUniqueID()] = nil;
return false;
end;