projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused...
[prosody.git]
/
plugins
/
mod_motd.lua
diff --git
a/plugins/mod_motd.lua
b/plugins/mod_motd.lua
index fea2cb858b4eea62f8c7bf8077c3edecf55d56d4..ed78294b1fd07a78ced7c9fb5cc04c78974241b3 100644
(file)
--- a/
plugins/mod_motd.lua
+++ b/
plugins/mod_motd.lua
@@
-13,7
+13,6
@@
local motd_jid = module:get_option_string("motd_jid", host);
if not motd_text then return; end
-local jid_join = require "util.jid".join;
local st = require "util.stanza";
motd_text = motd_text:gsub("^%s*(.-)%s*$", "%1"):gsub("\n%s+", "\n"); -- Strip indentation from the config