# HG changeset patch # User Kim Alvefur # Date 1377710398 -7200 # Node ID 9eac4e2386d272311e078bc3cb255cfa891a1956 # Parent bd7901fef71b2af52ccdcd047a2b1013b13f6016 mod_lastlog: Fix jid.split call diff -r bd7901fef71b -r 9eac4e2386d2 mod_lastlog/mod_lastlog.lua --- a/mod_lastlog/mod_lastlog.lua Wed Aug 28 18:54:00 2013 +0200 +++ b/mod_lastlog/mod_lastlog.lua Wed Aug 28 19:19:58 2013 +0200 @@ -38,7 +38,7 @@ if module:get_host_type() == "component" then module:hook("message/bare", function(event) - local room = split_jid(event.stanza.attr.to); + local room = jid.split(event.stanza.attr.to); if room then datamanager.store(room, module.host, "lastlog", { event = "message";