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 | 07b2ab8478b0a71a6e36f49f492131341e83bab5 (patch) | |
tree | 70281f695bc9358f0a98e9df0c460db21e293e6e | |
parent | 71b31dde2564da080341c4b72500e3832afbfe60 (diff) | |
download | prosody-07b2ab8478b0a71a6e36f49f492131341e83bab5.tar.gz prosody-07b2ab8478b0a71a6e36f49f492131341e83bab5.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; |