aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-09 20:00:25 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-09 20:00:25 +0000
commit208cb5629914624ad1971da0c121b2529ff31d7b (patch)
tree73128250160ac35168b2490c82a097878631f39c
parent410225d9651a936e85dba001ee693664fdc5c8f4 (diff)
Fix breakage of the "module load <module>" CLI command.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@233881 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/loader.c b/main/loader.c
index 2a7d35615..34a887e14 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -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;