diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-07-20 19:35:02 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-07-20 19:35:02 +0000 |
commit | b4e18d5660fcc13b97cd4682ff48e33aa9d15d83 (patch) | |
tree | 14b50e57a2595242548184d532cbeeedf416020a /channels/chan_local.c | |
parent | 293bdffe709fc7d37139b0b9be6b67193d621b51 (diff) |
Add load priority order, such that preload becomes unnecessary in most cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 20db5d04a..95adfcab7 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -1031,4 +1031,8 @@ static int unload_module(void) return 0; } -AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Local Proxy Channel (Note: used internally by other modules)"); +AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Local Proxy Channel (Note: used internally by other modules)", + .load = load_module, + .unload = unload_module, + .load_pri = AST_MODPRI_CHANNEL_DRIVER, + ); |