From 34a94bfe380b931ff0b3febb6258e8b467b7f481 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 13 Oct 2010 23:14:05 +0100 Subject: [PATCH] Fix a bug in database upgrade/initialization --- Clique.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clique.lua b/Clique.lua index 93c1ad7..bbf65b7 100755 --- a/Clique.lua +++ b/Clique.lua @@ -174,7 +174,7 @@ function addon:InitializeDatabase() if not CliqueDB2 then reset = true elseif CliqueDB2.dbversion == 5 then - if not CliqueDB2.settings or CliqueDB2.settings[charKey] then + if not CliqueDB2.settings or not CliqueDB2.settings[charKey] then reset = true else -- Upgrade to add the blacklist table to settings -- 1.7.9.5