comparison mod_default_bookmarks/mod_default_bookmarks.lua @ 3237:420ebea00cf3

mod_default_bookmarks: Add support for <password/>.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 18 Aug 2018 17:38:48 +0100
parents 73906187f964
children ee2463fbf794
comparison
equal deleted inserted replaced
3236:73906187f964 3237:420ebea00cf3
38 autojoin = "1", 38 autojoin = "1",
39 }); 39 });
40 if nick then 40 if nick then
41 reply:add_child(nick):up(); 41 reply:add_child(nick):up();
42 end 42 end
43 if bookmark.password then
44 reply:tag("password"):text(bookmark.password):up();
45 end
43 reply:up(); 46 reply:up();
44 end 47 end
45 return reply; 48 return reply;
46 end 49 end
47 50