projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599d774
)
util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)
author
Kim Alvefur
<zash@zash.se>
Mon, 28 Mar 2016 11:27:42 +0000
(13:27 +0200)
committer
Kim Alvefur
<zash@zash.se>
Mon, 28 Mar 2016 11:27:42 +0000
(13:27 +0200)
util/jid.lua
patch
|
blob
|
history
diff --git
a/util/jid.lua
b/util/jid.lua
index 60bb0829557090e24f4f9b1c6dddf639d25c326e..522fb126747439aea5add0853db74f35643fc014 100644
(file)
--- 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;