Software /
code /
prosody
Comparison
plugins/muc/hats.lib.lua @ 12977:74b9e05af71e
plugins: Prefix module imports with prosody namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Mar 2023 13:15:28 +0100 |
parent | 11245:43b43e7156b8 |
comparison
equal
deleted
inserted
replaced
12976:a187600ec7d6 | 12977:74b9e05af71e |
---|---|
1 local st = require "util.stanza"; | 1 local st = require "prosody.util.stanza"; |
2 local muc_util = module:require "muc/util"; | 2 local muc_util = module:require "muc/util"; |
3 | 3 |
4 local xmlns_hats = "xmpp:prosody.im/protocol/hats:1"; | 4 local xmlns_hats = "xmpp:prosody.im/protocol/hats:1"; |
5 | 5 |
6 -- Strip any hats claimed by the client (to prevent spoofing) | 6 -- Strip any hats claimed by the client (to prevent spoofing) |