]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix breakage of the "module load <module>" CLI command.
authorRussell Bryant <russell@russellbryant.com>
Wed, 9 Dec 2009 20:00:25 +0000 (20:00 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 9 Dec 2009 20:00:25 +0000 (20:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233881 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/loader.c

index 2a7d356157e14db38cf3ffc00df57ec98b449556..34a887e14d866c8ee00c1e464a0be65c4b8c0e21 100644 (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;