X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Froutines.c;h=a023dafe8354154ed15f872ca74849a2d0b4a4e4;hb=30cff7427b406571a0edf1c342573c0844f387f1;hp=65798e27f7065491ecbff55d45bb1c03f7918dc6;hpb=a57676f1f8762b59b730b91a139d2a6dd3c68ba8;p=citadel.git diff --git a/citadel/routines.c b/citadel/routines.c index 65798e27f..a023dafe8 100644 --- a/citadel/routines.c +++ b/citadel/routines.c @@ -136,11 +136,13 @@ void edituser(CtdlIPC *ipc, int cmd) } user->axlevel = intprompt("Access level", user->axlevel, 0, 6); - - user->flags = set_attr(ipc, user->flags, +/* user->flags = set_attr(ipc, user->flags, "Permission to send Internet mail", - US_INTERNET, 0); - + US_INTERNET, 0); */ + if (boolprompt("Permission to send Internet mail", (user->flags & US_INTERNET))) + user->flags |= US_INTERNET; + else + user->flags &= ~US_INTERNET; if (boolprompt("Ask user to register again", !(user->flags & US_REGIS))) user->flags &= ~US_REGIS; else