* Aides can now ask a user to re-register with .Aide User
authorMichael Hampton <io_error@uncensored.citadel.org>
Sat, 26 Jan 2002 05:34:53 +0000 (05:34 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sat, 26 Jan 2002 05:34:53 +0000 (05:34 +0000)
citadel/routines.c

index 3a3d901b8640e2d2b5401ac74d9e0c26a9e0fefd..f3066596fb3cdb545a0553443ea6aef9cad8cc05 100644 (file)
@@ -139,6 +139,10 @@ void edituser(void)
                strprompt("Password", pass, 19);
        }
        axlevel = intprompt("Access level", axlevel, 0, 6);
+       if (boolprompt("Ask user to register again", !(flags & US_REGIS)))
+               flags &= ~US_REGIS;
+       else
+               flags |= US_REGIS;
        timescalled = intprompt("Times called", timescalled, 0, INT_MAX);
        posted = intprompt("Messages posted", posted, 0, INT_MAX);
        lastcall = (boolprompt("Set last call to now", 0)?time(NULL):lastcall);