aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_privacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_privacy.c')
-rw-r--r--apps/app_privacy.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/app_privacy.c b/apps/app_privacy.c
index 4a61b3189..000c9ef2a 100644
--- a/apps/app_privacy.c
+++ b/apps/app_privacy.c
@@ -206,18 +206,12 @@ static int privacy_exec (struct ast_channel *chan, void *data)
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application (app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application (app);
}
static int load_module(void)
{
- return ast_register_application (app, privacy_exec, synopsis, descrip);
+ return ast_register_application(app, privacy_exec, synopsis, descrip);
}
AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Require phone number to be entered, if no CallerID sent");