From b66edcce517d22f48ce30670414ac7403735b7b8 Mon Sep 17 00:00:00 2001 From: Road-block Date: Fri, 8 Sep 2017 17:36:27 +0300 Subject: [PATCH] Remove debug code --- shootyepgp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shootyepgp.lua b/shootyepgp.lua index 043df3d..aedcc7a 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -170,7 +170,7 @@ function sepgp:delayedInit() -- migrate EPGP storage if needed local _,_,major_ver = string.find((GetAddOnMetadata("shootyepgp","Version")),"^(%d+)%.[%d%.%-]+$") major_ver = tonumber(major_ver) - if --[[IsGuildLeader() and ]]( (sepgp_dbver == nil) or (major_ver > sepgp_dbver) ) then + if IsGuildLeader() and ( (sepgp_dbver == nil) or (major_ver > sepgp_dbver) ) then sepgp[string.format("v%dtov%d",(sepgp_dbver or 2),major_ver)](sepgp) end -- safe officer note setting when we are admin