# HG changeset patch # User Kim Alvefur # Date 1459164462 -7200 # Node ID a7199fc8a50ef525d6c1ff72041904c189e99e5e # Parent afa83f3ccaadbd774bcfdc843cb033d3546e474a util.jid: Import select() into local (fixes traceback, tests on Lua 5.2) diff -r afa83f3ccaad -r a7199fc8a50e util/jid.lua --- 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;