aboutsummaryrefslogtreecommitdiffstats
path: root/src/permission.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/permission.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/permission.c b/src/permission.c
index fbd6a2855..36c9a39c1 100644
--- a/src/permission.c
+++ b/src/permission.c
@@ -69,7 +69,6 @@ unsigned int parsePermissions(char * string) {
}
void initPermissions() {
- permission_passwords = makeList(free);
char * passwordSets;
char * nextSet;
char * temp;
@@ -78,6 +77,8 @@ void initPermissions() {
char * password;
unsigned int * permission;
+ permission_passwords = makeList(free);
+
permission_default = PERMISSION_READ | PERMISSION_ADD |
PERMISSION_CONTROL | PERMISSION_ADMIN;