aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-09 19:58:46 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-09 19:58:46 +0000
commit383f53438f5a0a0f0a088fcd58187f1c76a3a64f (patch)
tree12e15593ef4c5685456241938ec27b12a07e00bb
parent0e5b47cc9c04b3ee976c6c6fce7b85659c0fad44 (diff)
Fix breakage of the "module load <module>" CLI command.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233879 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 9190c743b..98284b178 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -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;