From dae66b0b3fc21faf5885bb8db7ceeb85e1abbcda Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 21 Sep 2018 14:23:21 +0200 Subject: util.jid: Add missing semicolon --- util/jid.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/jid.lua b/util/jid.lua index 37c48193..ec31f180 100644 --- a/util/jid.lua +++ b/util/jid.lua @@ -30,7 +30,7 @@ local _ENV = nil; local function split(jid) if not jid then return; end local node, nodepos = match(jid, "^([^@/]+)@()"); - local host, hostpos = match(jid, "^([^@/]+)()", nodepos) + local host, hostpos = match(jid, "^([^@/]+)()", nodepos); if node and not host then return nil, nil, nil; end local resource = match(jid, "^/(.+)$", hostpos); if (not host) or ((not resource) and #jid >= hostpos) then return nil, nil, nil; end -- cgit v1.2.3