aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_amd.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_amd.c')
-rw-r--r--apps/app_amd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c
index 6c753783d..9a32f9032 100644
--- a/apps/app_amd.c
+++ b/apps/app_amd.c
@@ -318,11 +318,7 @@ static void isAnsweringMachine(struct ast_channel *chan, void *data)
static int amd_exec(struct ast_channel *chan, void *data)
{
- struct ast_module_user *u = NULL;
-
- u = ast_module_user_add(chan);
isAnsweringMachine(chan, data);
- ast_module_user_remove(u);
return 0;
}