aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/stanza_router.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index e6085595..7fa18eb0 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -10,8 +10,7 @@ local log = require "util.logger".init("stanzarouter")
local st = require "util.stanza";
local send = require "core.sessionmanager".send_to_session;
-require "util.jid"
-local jid_split = jid.split;
+local jid_split = require "util.jid".split;
function core_process_stanza(origin, stanza)
log("debug", "Received: "..tostring(stanza))