Skip to content

Commit

Permalink
Merge branch 'darkrpFPP'
Browse files Browse the repository at this point in the history
  • Loading branch information
FPtje committed Dec 8, 2012
2 parents 2aa2052 + c4960c8 commit c2d81e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gamemode/fpp/server/FPP_Settings.lua
Expand Up @@ -267,7 +267,7 @@ local function RetrieveBlocked()
for k,v in pairs(FPP.Blocked) do for k,v in pairs(FPP.Blocked) do
for a,b in pairs(v) do for a,b in pairs(v) do
count = count + 1 count = count + 1
DB.Query("INSERT INTO FPP_BLOCKED1 VALUES(".. count ..", " .. sql.SQLStr(k) .. ", " .. sql.SQLStr(b) .. ");") DB.Query("REPLACE INTO FPP_BLOCKED1 VALUES(".. count ..", " .. sql.SQLStr(k) .. ", " .. sql.SQLStr(b) .. ");")
end end
end end
DB.Commit() DB.Commit()
Expand Down Expand Up @@ -341,7 +341,7 @@ end
local function RetrieveGroups() local function RetrieveGroups()
DB.Query("SELECT * FROM FPP_GROUPS3;", function(data) DB.Query("SELECT * FROM FPP_GROUPS3;", function(data)
if type(data) ~= "table" then if type(data) ~= "table" then
DB.Query("INSERT INTO FPP_GROUPS3 VALUES('default', 1);") DB.Query("REPLACE INTO FPP_GROUPS3 VALUES('default', 1);")
FPP.Groups['default'] = {} FPP.Groups['default'] = {}
FPP.Groups['default'].tools = {} FPP.Groups['default'].tools = {}
FPP.Groups['default'].allowdefault = true FPP.Groups['default'].allowdefault = true
Expand Down

0 comments on commit c2d81e1

Please sign in to comment.