summaryrefslogtreecommitdiff
path: root/funcs/func_periodic_hook.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_periodic_hook.c')
-rw-r--r--funcs/func_periodic_hook.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/funcs/func_periodic_hook.c b/funcs/func_periodic_hook.c
index 39dfab396..4ee98f3ff 100644
--- a/funcs/func_periodic_hook.c
+++ b/funcs/func_periodic_hook.c
@@ -520,4 +520,7 @@ int AST_OPTIONAL_API_NAME(ast_beep_stop)(struct ast_channel *chan, const char *b
return hook_write(chan, NULL, (char *) beep_id, "off");
}
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Periodic dialplan hooks.");
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Periodic dialplan hooks.",
+ .load = load_module,
+ .unload = unload_module,
+ );