author | Matthew Wild <mwild1@gmail.com> |
Sun, 07 Nov 2010 16:03:00 +0000 | |
changeset 275 | 9a35c7e2fee4 |
parent 266 | e7296274f48c (diff) |
parent 274 | cda4855863af (current diff) |
child 276 | 27c652363874 |
--- a/mod_seclabels/mod_seclabels.lua Sun Oct 31 00:27:56 2010 +0200 +++ b/mod_seclabels/mod_seclabels.lua Sun Nov 07 16:03:00 2010 +0000 @@ -5,6 +5,12 @@ module:add_feature(xmlns_label); +module:hook("account-disco-info", function(event) + local stanza = event.stanza; + stanza:tag('feature', {var=xmlns_label}):up(); + stanza:tag('feature', {var=xmlns_label_catalog}):up(); +end); + local labels = { Classified = { SECRET = { color = "black", bgcolor = "aqua", label = "THISISSECRET" };