Software /
code /
prosody-modules
Diff
mod_lastlog/mod_lastlog.lua @ 1175:9eac4e2386d2
mod_lastlog: Fix jid.split call
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 28 Aug 2013 19:19:58 +0200 |
parent | 1174:bd7901fef71b |
child | 1176:06e0c279f6a8 |
line wrap: on
line diff
--- 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";