Quantcast

* Fix to sv conversion code

James Whitehead II [04-14-07 - 01:22]
* Fix to sv conversion code
Filename
Clique.lua
diff --git a/Clique.lua b/Clique.lua
index fbd5e9b..8b5e154 100644
--- a/Clique.lua
+++ b/Clique.lua
@@ -11,8 +11,11 @@ local L = Clique.Locals

 function Clique:Initialize()
 	-- This is a small procedure to update the saved variables
+	CliqueDB = CliqueDB or {}
 	local sv = CliqueDB

+	if not sv.global then sv.global = {} end
+
 	if sv and not sv.global.sv_converted then
 		if sv.char then
 			local converted = {}