lib/vpwentry/vpwentry.cc
changeset 2 b3afb9f1e801
parent 0 6f7a81934006
equal deleted inserted replaced
1:30113bfbe723 2:b3afb9f1e801
    16 
    16 
    17 #include <config.h>
    17 #include <config.h>
    18 #include "vpwentry.h"
    18 #include "vpwentry.h"
    19 
    19 
    20 vpwentry::vpwentry()
    20 vpwentry::vpwentry()
    21   : is_mailbox_enabled(true)
    21   : has_mailbox(true), is_mailbox_enabled(true)
    22 {
    22 {
    23 }
    23 }
    24 
    24 
    25 vpwentry::vpwentry(const mystring& n, const mystring& p,
    25 vpwentry::vpwentry(const mystring& n, const mystring& p,
    26 		   const mystring& m, const mystring& f)
    26 		   const mystring& d, const mystring& f, bool m)
    27   : name(n), pass(p), mailbox(m), forwards(f),
    27   : name(n), pass(p), directory(d), forwards(f),
    28     is_mailbox_enabled(true)
    28     has_mailbox(m), is_mailbox_enabled(true)
    29 {
    29 {
       
    30   set_defaults(true, true);
    30 }
    31 }
    31 
    32 
    32 vpwentry::~vpwentry()
    33 vpwentry::~vpwentry()
    33 {
    34 {
    34 }
    35 }