From 976c33377ce41f326c91ccb9f0f241a2744f696c Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 26 May 2013 19:57:12 +0000 Subject: ProtectionAreas: Fixed a mistyped variable name git-svn-id: http://mc-server.googlecode.com/svn/trunk@1518 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/ProtectionAreas/HookHandlers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MCServer/Plugins/ProtectionAreas') 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; -- cgit v1.2.3