aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_motd.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-03-23 01:27:38 +0100
committerKim Alvefur <zash@zash.se>2013-03-23 01:27:38 +0100
commitf004eb9e48d59d329ed56d8b6a8f8b0f1f6ba307 (patch)
treed2ed6c6b6b1d46f9dee1610f9b5b7862d7145864 /plugins/mod_motd.lua
parent98dea85ed20b7a4ce764936a746d9ecc7408157b (diff)
downloadprosody-f004eb9e48d59d329ed56d8b6a8f8b0f1f6ba307.tar.gz
prosody-f004eb9e48d59d329ed56d8b6a8f8b0f1f6ba307.zip
mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports
Diffstat (limited to 'plugins/mod_motd.lua')
-rw-r--r--plugins/mod_motd.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_motd.lua b/plugins/mod_motd.lua
index fea2cb85..ed78294b 100644
--- 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