Forgetting to unregister a manager action is bad, mmmk?
authorJoshua Colp <jcolp@digium.com>
Fri, 28 Mar 2008 00:55:47 +0000 (00:55 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 28 Mar 2008 00:55:47 +0000 (00:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111565 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index ca67f0a..3fd69c7 100644 (file)
@@ -6190,7 +6190,7 @@ static int unload_module(void)
        ast_cli_unregister_multiple(cli_queue, sizeof(cli_queue) / sizeof(struct ast_cli_entry));
        res = ast_manager_unregister("QueueStatus");
        res |= ast_manager_unregister("Queues");
-       res |= ast_manager_unregister("QueueStatus");
+       res |= ast_manager_unregister("QueueRule");
        res |= ast_manager_unregister("QueueSummary");
        res |= ast_manager_unregister("QueueAdd");
        res |= ast_manager_unregister("QueueRemove");