diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-28 13:27:42 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-28 13:27:42 +0200 |
commit | d7ddbba693ff4833265e911bd53ba6b84871e45a (patch) | |
tree | 70281f695bc9358f0a98e9df0c460db21e293e6e | |
parent | b246855e0a0f1dd97e0fd509388ca8fc8596e62e (diff) | |
download | prosody-d7ddbba693ff4833265e911bd53ba6b84871e45a.tar.gz prosody-d7ddbba693ff4833265e911bd53ba6b84871e45a.zip |
util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)
-rw-r--r-- | util/jid.lua | 1 |
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; |