projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ejabberdsql2prosody: Fix access of undefined global
[prosody.git]
/
tools
/
ejabberdsql2prosody.lua
diff --git
a/tools/ejabberdsql2prosody.lua
b/tools/ejabberdsql2prosody.lua
index 4aace0854573de76fbacc9fe9cf1526c9eba7a76..295f5f883531f99553090afb70db44401385ccb7 100644
(file)
--- a/
tools/ejabberdsql2prosody.lua
+++ b/
tools/ejabberdsql2prosody.lua
@@
-136,8
+136,8
@@
local function readFile(filename)
while true do
local tname, tuples = readInsert();
if tname then
- if t[name] then
- local t_name = t[name];
+ if t[
t
name] then
+ local t_name = t[
t
name];
for i=1,#tuples do
table.insert(t_name, tuples[i]);
end