aboutsummaryrefslogtreecommitdiffstats
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
commitd7ddbba693ff4833265e911bd53ba6b84871e45a (patch)
tree70281f695bc9358f0a98e9df0c460db21e293e6e
parentb246855e0a0f1dd97e0fd509388ca8fc8596e62e (diff)
downloadprosody-d7ddbba693ff4833265e911bd53ba6b84871e45a.tar.gz
prosody-d7ddbba693ff4833265e911bd53ba6b84871e45a.zip
util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)
-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;