Changeset

1175:9eac4e2386d2

mod_lastlog: Fix jid.split call
author Kim Alvefur <zash@zash.se>
date Wed, 28 Aug 2013 19:19:58 +0200
parents 1174:bd7901fef71b
children 1176:06e0c279f6a8
files mod_lastlog/mod_lastlog.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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";