Changeset

9324:607b262da853

util.jid: Add missing semicolon
author Kim Alvefur <zash@zash.se>
date Fri, 21 Sep 2018 14:23:21 +0200
parents 9323:3259653512e7
children 9325:982f8ae61de2
files util/jid.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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