aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-21 14:23:21 +0200
committerKim Alvefur <zash@zash.se>2018-09-21 14:23:21 +0200
commit3fb26b8eea24d22ecc2ba0c3026322b8f2a695f0 (patch)
treeab5167e9b0854d805b595eb9ca97aa18b188d8cd /util
parentf94bc33782a3ff2db5f0d68c6f13e83fe0fb34c4 (diff)
downloadprosody-3fb26b8eea24d22ecc2ba0c3026322b8f2a695f0.tar.gz
prosody-3fb26b8eea24d22ecc2ba0c3026322b8f2a695f0.zip
util.jid: Add missing semicolon
Diffstat (limited to 'util')
-rw-r--r--util/jid.lua2
1 files changed, 1 insertions, 1 deletions
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