summaryrefslogtreecommitdiff
path: root/addons/res_config_mysql.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-07-20 19:35:02 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-07-20 19:35:02 +0000
commitb4e18d5660fcc13b97cd4682ff48e33aa9d15d83 (patch)
tree14b50e57a2595242548184d532cbeeedf416020a /addons/res_config_mysql.c
parent293bdffe709fc7d37139b0b9be6b67193d621b51 (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 'addons/res_config_mysql.c')
-rw-r--r--addons/res_config_mysql.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/res_config_mysql.c b/addons/res_config_mysql.c
index fc449d26b..e770452fd 100644
--- a/addons/res_config_mysql.c
+++ b/addons/res_config_mysql.c
@@ -1773,9 +1773,10 @@ static char *handle_cli_realtime_mysql_status(struct ast_cli_entry *e, int cmd,
return CLI_SUCCESS;
}
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "MySQL RealTime Configuration Driver",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "MySQL RealTime Configuration Driver",
.load = load_module,
.unload = unload_module,
.reload = reload,
+ .load_pri = AST_MODPRI_REALTIME_DRIVER,
);