diff options
Diffstat (limited to 'funcs/func_devstate.c')
-rw-r--r-- | funcs/func_devstate.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/funcs/func_devstate.c b/funcs/func_devstate.c index 6e4a674d0..396657768 100644 --- a/funcs/func_devstate.c +++ b/funcs/func_devstate.c @@ -349,4 +349,8 @@ static int load_module(void) return res; } -AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Gets or sets a device state in the dialplan"); +AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Gets or sets a device state in the dialplan", + .load = load_module, + .unload = unload_module, + .load_pri = AST_MODPRI_DEVSTATE_PROVIDER, +); |