Software /
code /
prosody
Diff
plugins/mod_blocklist.lua @ 6460:6d3187f24608
mod_blocklist: Capitalize log message
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 05 Oct 2014 15:36:19 +0200 |
parent | 6352:b703e6930e4c |
child | 6494:5979eaed12c0 |
line wrap: on
line diff
--- a/plugins/mod_blocklist.lua Fri Oct 03 14:42:18 2014 +0200 +++ b/plugins/mod_blocklist.lua Sun Oct 05 15:36:19 2014 +0200 @@ -182,7 +182,7 @@ -- Buggy clients module:hook("iq-error/self/blocklist-push", function (event) local type, condition, text = event.stanza:get_error(); - (event.origin.log or module._log)("warn", "client returned an error in response to notification from mod_%s: %s%s%s", module.name, condition, text and ": " or "", text or ""); + (event.origin.log or module._log)("warn", "Client returned an error in response to notification from mod_%s: %s%s%s", module.name, condition, text and ": " or "", text or ""); return true; end);