# HG changeset patch # User Kim Alvefur # Date 1544549191 -3600 # Node ID 272908ea99c9a081636032b0d03ad554fff4d842 # Parent 39ec478a752e5d8d6046bf4cc5a283c35df8ea79 mod_motd_sequential: Fix for deprecation of global routing functions (fixes #1258) diff -r 39ec478a752e -r 272908ea99c9 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";