diff mod_bookmarks/mod_bookmarks.lua @ 3232:34e30a891bd3

mod_bookmarks: Fix traceback on retrieval since ba0d444b64aa.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 18 Aug 2018 14:11:26 +0100
parents f7777bc6e677
children 176b537a658c
line wrap: on
line diff
--- a/mod_bookmarks/mod_bookmarks.lua	Sat Aug 18 14:10:38 2018 +0100
+++ b/mod_bookmarks/mod_bookmarks.lua	Sat Aug 18 14:11:26 2018 +0100
@@ -31,7 +31,6 @@
 		return;
 	end
 
-	local item = data[id];
 	local content = item.tags[1];
 	module:log("debug", "Sending back private for %s: %s", username, content);
 	session.send(st.reply(stanza):query("jabber:iq:private"):add_child(content));