From 198d96dcf50a01cf0dffd68c0e2c229cbb363659 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 2 Jul 2018 23:41:47 +0200 Subject: mod_ping: Depend on mod_ahoc --- plugins/mod_ping.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/mod_ping.lua b/plugins/mod_ping.lua index 5559c5ca..09f78efa 100644 --- a/plugins/mod_ping.lua +++ b/plugins/mod_ping.lua @@ -26,6 +26,7 @@ function ping_command_handler (self, data, state) -- luacheck: ignore 212 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); -- cgit v1.2.3