aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-28 13:27:42 +0200
committerKim Alvefur <zash@zash.se>2016-03-28 13:27:42 +0200
commit07b2ab8478b0a71a6e36f49f492131341e83bab5 (patch)
tree70281f695bc9358f0a98e9df0c460db21e293e6e /util
parent71b31dde2564da080341c4b72500e3832afbfe60 (diff)
downloadprosody-07b2ab8478b0a71a6e36f49f492131341e83bab5.tar.gz
prosody-07b2ab8478b0a71a6e36f49f492131341e83bab5.zip
util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)
Diffstat (limited to 'util')
-rw-r--r--util/jid.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/jid.lua b/util/jid.lua
index 60bb0829..522fb126 100644
--- a/util/jid.lua
+++ b/util/jid.lua
@@ -8,6 +8,7 @@
+local select = select;
local match, sub = string.match, string.sub;
local nodeprep = require "util.encodings".stringprep.nodeprep;
local nameprep = require "util.encodings".stringprep.nameprep;