Fix breakage of the "module load <module>" CLI command.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2009-12-09 19:58:46 +00:00
parent 4dfd9d4800
commit b11d227e7e

View File

@@ -815,7 +815,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, enum
int ast_load_resource(const char *resource_name)
{
AST_LIST_LOCK(&module_list);
load_resource(resource_name, 0);
load_resource(resource_name, LOAD_ALL);
AST_LIST_UNLOCK(&module_list);
return 0;