From 77cb2879ff809f97da1b01a4c7c540b790e747ec Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 23 Sep 2016 14:03:37 +0200 Subject: mod_carbons: Make the conditions for ignoring MUC PMs more specific (fixes #744) --- 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 522fb126..f402b7f4 100644 --- a/util/jid.lua +++ b/util/jid.lua @@ -46,7 +46,7 @@ end local function prepped_split(jid) local node, host, resource = split(jid); - if host then + if host and host ~= "." then if sub(host, -1, -1) == "." then -- Strip empty root label host = sub(host, 1, -2); end -- cgit v1.2.3