diff options
author | Kim Alvefur <zash@zash.se> | 2019-07-30 02:29:36 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-07-30 02:29:36 +0200 |
commit | 40b1e3e0ed1223517f29bcf136fc08a6f33b17f2 (patch) | |
tree | d9c5e487acf897127720acb3e5109a5e87eb9a2d /plugins/mod_blocklist.lua | |
parent | 0e16eeb216d52e4cce2457fae31e1618a8b6e446 (diff) | |
download | prosody-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.lua | 2 |
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 |