diff options
Diffstat (limited to 'apps/app_verbose.c')
-rwxr-xr-x | apps/app_verbose.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_verbose.c b/apps/app_verbose.c index 434b822df..e23bf1a06 100755 --- a/apps/app_verbose.c +++ b/apps/app_verbose.c @@ -98,8 +98,13 @@ static int verbose_exec(struct ast_channel *chan, void *data) int unload_module(void) { + int res; + + res = ast_unregister_application(app_verbose); + STANDARD_HANGUP_LOCALUSERS; - return ast_unregister_application(app_verbose); + + return res; } int load_module(void) |