Merged revisions 45818 via svnmerge from
[asterisk/asterisk.git] / res / res_monitor.c
index 793921b..9d73999 100644 (file)
@@ -659,8 +659,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;
 }