fix odbc keepalive interval bug

This commit is contained in:
liudan 2014-10-21 10:05:44 +08:00
parent 160c9d7698
commit d2edcf1288
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ decode_term(Bin) ->
%%%----------------------------------------------------------------------
init([Host, StartInterval]) ->
case ejabberd_config:get_option(
{keepalive_interval, Host},
{odbc_keepalive_interval, Host},
fun(I) when is_integer(I), I>0 -> I end) of
undefined ->
ok;