Software /
code /
prosody
Diff
plugins/mod_motd.lua @ 5371:706206e191e8
mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 01:27:38 +0100 |
parent | 5169:ed2d64fb7301 |
child | 5776:bd0ff8ae98a8 |
child | 6009:1579b53351e2 |
line wrap: on
line diff
--- a/plugins/mod_motd.lua Sat Mar 23 01:27:16 2013 +0100 +++ b/plugins/mod_motd.lua Sat Mar 23 01:27:38 2013 +0100 @@ -13,7 +13,6 @@ 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