util.jid: Add missing semicolon
authorKim Alvefur <zash@zash.se>
Fri, 21 Sep 2018 14:23:21 +0200
changeset 9327 607b262da853
parent 9326 3259653512e7
child 9328 982f8ae61de2
util.jid: Add missing semicolon
util/jid.lua
--- a/util/jid.lua	Mon Sep 17 15:25:47 2018 +0100
+++ b/util/jid.lua	Fri Sep 21 14:23:21 2018 +0200
@@ -30,7 +30,7 @@
 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