From: Russell Bryant Date: Wed, 9 Dec 2009 20:00:25 +0000 (+0000) Subject: Fix breakage of the "module load " CLI command. X-Git-Tag: 1.6.0.20-rc1~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1f0d3d146f9b1c93e085c556eb1cab5598cf40d;p=thirdparty%2Fasterisk.git Fix breakage of the "module load " CLI command. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233881 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/loader.c b/main/loader.c index 2a7d356157..34a887e14d 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;