Mercurial > prosody-modules
diff mod_motd_sequential/mod_motd_sequential.lua @ 3400:272908ea99c9
mod_motd_sequential: Fix for deprecation of global routing functions (fixes #1258)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 11 Dec 2018 18:26:31 +0100 |
parents | 65082d91950e |
children | 8412592f3011 |
line wrap: on
line diff
--- a/mod_motd_sequential/mod_motd_sequential.lua Sun Dec 09 00:35:57 2018 +0100 +++ b/mod_motd_sequential/mod_motd_sequential.lua Tue Dec 11 18:26:31 2018 +0100 @@ -7,6 +7,7 @@ -- COPYING file in the source package for more information. -- +local core_route_stanza = prosody.core_route_stanza; local host = module:get_host(); local motd_jid = module:get_option("motd_jid") or host; local datamanager = require "util.datamanager";