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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2009-12-09 20:00:25 +00:00
parent 886ea54ec5
commit e1f0d3d146

View File

@@ -828,7 +828,7 @@ int ast_load_resource(const char *resource_name)
{
int res;
AST_LIST_LOCK(&module_list);
res = load_resource(resource_name, 0);
res = load_resource(resource_name, LOAD_ALL);
AST_LIST_UNLOCK(&module_list);
return res;