mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Merge 0.9->0.10
This commit is contained in:
commit
73f394eec5
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if not motd_text then return; end
|
|||
|
||||
local st = require "util.stanza";
|
||||
|
||||
motd_text = motd_text:gsub("^%s*(.-)%s*$", "%1"):gsub("\n%s+", "\n"); -- Strip indentation from the config
|
||||
motd_text = motd_text:gsub("^%s*(.-)%s*$", "%1"):gsub("\n[ \t]+", "\n"); -- Strip indentation from the config
|
||||
|
||||
module:hook("presence/bare", function (event)
|
||||
local session, stanza = event.origin, event.stanza;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue