From 7dcb58af435be91b660f09550aca9e293ddb3f99 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 6 Aug 2008 20:42:15 +0000 Subject: [PATCH] We only need to unregister the QueueStatus manager command once on an unload git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@136238 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index ba9faeb753..33283f2242 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5045,7 +5045,6 @@ 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("QueueAdd"); res |= ast_manager_unregister("QueueRemove"); res |= ast_manager_unregister("QueuePause");