summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/scripts/lua')
-rw-r--r--indra/newview/scripts/lua/test_LLChat.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/scripts/lua/test_LLChat.lua b/indra/newview/scripts/lua/test_LLChat.lua
index 3c5cbeeeb2..3abaf28e42 100644
--- a/indra/newview/scripts/lua/test_LLChat.lua
+++ b/indra/newview/scripts/lua/test_LLChat.lua
@@ -2,12 +2,12 @@ LLChat = require 'LLChat'
function generateRandomWord(length)
local alphabet = "abcdefghijklmnopqrstuvwxyz"
- local word = {}
+ local wordTable = {}
for i = 1, length do
local randomIndex = math.random(1, #alphabet)
- table.insert(word, alphabet:sub(randomIndex, randomIndex))
+ table.insert(wordTable, alphabet:sub(randomIndex, randomIndex))
end
- return table.concat(word)
+ return table.concat(wordTable)
end
local msg = {'AI says:'}