diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-08-18 13:52:44 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-08-18 13:52:44 +0000 |
commit | 749b67bd1d12523c4c307f8f50feb3b41c2f89e5 (patch) | |
tree | a73c0921d27ce721d81ef5a1f80114139d236d24 /channels/chan_h323.c | |
parent | dc7d25ea63d0622b47662feebcd01481ce10a1bc (diff) |
We weren't properly encapsulating the mtime ignores of config files (closes issue #10488)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r-- | channels/chan_h323.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 6da113ddb..a1dd3723a 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -2831,6 +2831,12 @@ static int reload_config(int is_reload) ucfg = ast_config_load("users.conf", config_flags); } + if (is_reload) { + delete_users(); + delete_aliases(); + prune_peers(); + } + /* fire up the H.323 Endpoint */ if (!h323_end_point_exist()) { h323_end_point_create(); @@ -3085,9 +3091,6 @@ static int h323_reload(int fd, int argc, char *argv[]) static int h323_do_reload(void) { - delete_users(); - delete_aliases(); - prune_peers(); reload_config(1); return 0; } |