Quantcast

Fix a critical bug, thanks for the reports

James Whitehead II [10-15-10 - 09:46]
Fix a critical bug, thanks for the reports
Filename
Utils.lua
diff --git a/Utils.lua b/Utils.lua
index 2038cce..033b44e 100644
--- a/Utils.lua
+++ b/Utils.lua
@@ -254,10 +254,6 @@ end

 -- This function examines the current state of the game
 function addon:ShouldSetBinding(binding, global)
-    if type(binding) ~= table or not binding.key or not binding.sets then
-        return false
-    end
-
     local apply = false

     -- Check for global bindings first in isolation