Mercurial > prosody-hg
comparison plugins/mod_stanza_debug.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 |
| parents | 0f335815244f |
| children |
comparison
equal
deleted
inserted
replaced
| 12976:a187600ec7d6 | 12977:74b9e05af71e |
|---|---|
| 1 module:set_global(); | 1 module:set_global(); |
| 2 | 2 |
| 3 local filters = require "util.filters"; | 3 local filters = require "prosody.util.filters"; |
| 4 | 4 |
| 5 local function log_send(t, session) | 5 local function log_send(t, session) |
| 6 if t and t ~= "" and t ~= " " then | 6 if t and t ~= "" and t ~= " " then |
| 7 session.log("debug", "SEND: %s", t); | 7 session.log("debug", "SEND: %s", t); |
| 8 end | 8 end |
