Software /
code /
prosody
Diff
plugins/mod_blocklist.lua @ 10111:0f335815244f
plugins: Remove tostring call from logging
Taken care of by loggingmanager now
Mass-rewrite using lua pattern like `tostring%b()`
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Jul 2019 02:29:36 +0200 |
parent | 10054:0656bd283fa2 |
child | 12775:1dd468c63a3d |
line wrap: on
line diff
--- a/plugins/mod_blocklist.lua Tue Jul 30 02:24:06 2019 +0200 +++ b/plugins/mod_blocklist.lua Tue Jul 30 02:29:36 2019 +0200 @@ -67,7 +67,7 @@ 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