# HG changeset patch # User Kim Alvefur # Date 1530567707 -7200 # Node ID 5d4ebceaf8aaa62e7a70f01abe5ba6f29fe88885 # Parent 9d0d1e427b821629cff166d972f8246bd6e3db45 mod_ping: Depend on mod_ahoc diff -r 9d0d1e427b82 -r 5d4ebceaf8aa plugins/mod_ping.lua --- a/plugins/mod_ping.lua Mon Jul 02 23:41:36 2018 +0200 +++ b/plugins/mod_ping.lua Mon Jul 02 23:41:47 2018 +0200 @@ -26,6 +26,7 @@ return { info = "Pong\n"..now, status = "completed" }; end +module:depend "adhoc"; local adhoc_new = module:require "adhoc".new; local descriptor = adhoc_new("Ping", "ping", ping_command_handler); module:add_item ("adhoc", descriptor);