mod_motd_sequential: Fix for deprecation of global routing functions (fixes #1258)
authorKim Alvefur <zash@zash.se>
Tue, 11 Dec 2018 18:26:31 +0100
changeset 3404 272908ea99c9
parent 3403 39ec478a752e
child 3405 8412592f3011
mod_motd_sequential: Fix for deprecation of global routing functions (fixes #1258)
mod_motd_sequential/mod_motd_sequential.lua
--- 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";