Diff

util/jid.lua @ 7321:a7199fc8a50e

util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)
author Kim Alvefur <zash@zash.se>
date Mon, 28 Mar 2016 13:27:42 +0200
parent 7296:1859e07ae082
child 7670:2be85cb3bc66
line wrap: on
line diff
--- a/util/jid.lua	Sat Mar 26 19:55:08 2016 +0000
+++ b/util/jid.lua	Mon Mar 28 13:27:42 2016 +0200
@@ -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;