mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_blocklist: Use local variable [luacheck]
This commit is contained in:
parent
67572368f2
commit
38ea54b37b
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ end);
|
|||
-- Buggy clients
|
||||
module:hook("iq-error/self/blocklist-push", function (event)
|
||||
local origin, stanza = event.origin, event.stanza;
|
||||
local _, condition, text = event.stanza:get_error();
|
||||
local _, condition, text = stanza:get_error();
|
||||
local log = (origin.log or module._log);
|
||||
log("warn", "Client returned an error in response to notification from mod_%s: %s%s%s",
|
||||
module.name, condition, text and ": " or "", text or "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue