Fixes problem where manager users loaded from users.conf would be

removed early (before the routine to load the configuration was 
finished) because a variable wasn't initialized.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Brett Bryant 2008-07-18 22:19:56 +00:00
parent 0e76506c40
commit 41a6477d82
1 changed files with 1 additions and 0 deletions

View File

@ -4115,6 +4115,7 @@ static int __init_manager(int reload)
/* Insert into list */
AST_LIST_INSERT_TAIL(&users, user, list);
user->ha = NULL;
user->keep = 1;
user->readperm = -1;
user->writeperm = -1;
/* Default displayconnect from [general] */