Skip to content

Commit

Permalink
Fix rLib copyTable bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zorker committed Nov 17, 2016
1 parent 6cb4fde commit 2bbdbf7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wow7.0/rLib/core.lua
Expand Up @@ -20,8 +20,8 @@ rLib.addonName = A
-- Functions
-----------------------------

--rLib:CopyTable
function rLib:CopyTable(orig)
--copyTable
local function copyTable(orig)
local orig_type = type(orig)
local copy
if orig_type == 'table' then
Expand All @@ -35,6 +35,7 @@ function rLib:CopyTable(orig)
end
return copy
end
rLib.CopyTable = copyTable

--rLib:RegisterCallback
function rLib:RegisterCallback(event, callback, ...)
Expand Down

0 comments on commit 2bbdbf7

Please sign in to comment.