Changeset

8961:5d4ebceaf8aa

mod_ping: Depend on mod_ahoc
author Kim Alvefur <zash@zash.se>
date Mon, 02 Jul 2018 23:41:47 +0200
parents 8960:9d0d1e427b82
children 8962:6c06bd455bbf
files plugins/mod_ping.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);