diff options
Diffstat (limited to 'include/asterisk/pbx.h')
-rw-r--r-- | include/asterisk/pbx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 795af0584..c09de982a 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -1406,7 +1406,7 @@ enum ast_custom_function_escalation { /*! * \brief Register a custom function */ -#define ast_custom_function_register(acf) __ast_custom_function_register(acf, ast_module_info->self) +#define ast_custom_function_register(acf) __ast_custom_function_register(acf, AST_MODULE_SELF) /*! * \brief Register a custom function which requires escalated privileges. @@ -1415,7 +1415,7 @@ enum ast_custom_function_escalation { * arbitrary code) or FILE() (for which write needs permission to change files * on the filesystem). */ -#define ast_custom_function_register_escalating(acf, escalation) __ast_custom_function_register_escalating(acf, escalation, ast_module_info->self) +#define ast_custom_function_register_escalating(acf, escalation) __ast_custom_function_register_escalating(acf, escalation, AST_MODULE_SELF) /*! * \brief Register a custom function |