aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_blocklist.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-30 02:29:36 +0200
committerKim Alvefur <zash@zash.se>2019-07-30 02:29:36 +0200
commit40b1e3e0ed1223517f29bcf136fc08a6f33b17f2 (patch)
treed9c5e487acf897127720acb3e5109a5e87eb9a2d /plugins/mod_blocklist.lua
parent0e16eeb216d52e4cce2457fae31e1618a8b6e446 (diff)
downloadprosody-40b1e3e0ed1223517f29bcf136fc08a6f33b17f2.tar.gz
prosody-40b1e3e0ed1223517f29bcf136fc08a6f33b17f2.zip
plugins: Remove tostring call from logging
Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()`
Diffstat (limited to 'plugins/mod_blocklist.lua')
-rw-r--r--plugins/mod_blocklist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_blocklist.lua b/plugins/mod_blocklist.lua
index cf8aad80..dad06b62 100644
--- a/plugins/mod_blocklist.lua
+++ b/plugins/mod_blocklist.lua
@@ -67,7 +67,7 @@ local function migrate_privacy_list(username)
if item.type == "jid" and item.action == "deny" then
local jid = jid_prep(item.value);
if not jid then
- module:log("warn", "Invalid JID in privacy store for user '%s' not migrated: %s", username, tostring(item.value));
+ module:log("warn", "Invalid JID in privacy store for user '%s' not migrated: %s", username, item.value);
else
migrated_data[jid] = true;
end