mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
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:
@@ -4115,6 +4115,7 @@ static int __init_manager(int reload)
|
|||||||
/* Insert into list */
|
/* Insert into list */
|
||||||
AST_LIST_INSERT_TAIL(&users, user, list);
|
AST_LIST_INSERT_TAIL(&users, user, list);
|
||||||
user->ha = NULL;
|
user->ha = NULL;
|
||||||
|
user->keep = 1;
|
||||||
user->readperm = -1;
|
user->readperm = -1;
|
||||||
user->writeperm = -1;
|
user->writeperm = -1;
|
||||||
/* Default displayconnect from [general] */
|
/* Default displayconnect from [general] */
|
||||||
|
|||||||
Reference in New Issue
Block a user