aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_monitor.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-21 18:49:46 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-21 18:49:46 +0000
commit64ad5150fe2898b8175241decda2952020276ffd (patch)
tree4431c415ced123fdcd98052ef47339447cfbffdf /res/res_monitor.c
parent79b72a38883d2182f031692a68c38898effd1e71 (diff)
Add a couple missing unregistrations of manager actions and remove duplicate
unregistrations of applications. (issue #8194, jmls) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45818 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r--res/res_monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c
index ebac350f8..4a71a92be 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -658,8 +658,8 @@ static int unload_module(void)
ast_manager_unregister("Monitor");
ast_manager_unregister("StopMonitor");
ast_manager_unregister("ChangeMonitor");
- ast_unregister_application("PauseMonitor");
- ast_unregister_application("UnpauseMonitor");
+ ast_manager_unregister("PauseMonitor");
+ ast_manager_unregister("UnpauseMonitor");
return 0;
}