]> code.citadel.org Git - citadel.git/blobdiff - citadel/citserver.c
* Removed the NETF command and the UI elements which call it. We haven't had the...
[citadel.git] / citadel / citserver.c
index ca612b0b0ed9b93261a789a8fa29b5de1d82e474..a78e60113674b8eaac7003eb3418d2d331ab2954 100644 (file)
@@ -984,7 +984,7 @@ void begin_session(struct CitContext *con)
        con->dl_is_net = 0;
 
        con->nologin = 0;
-       if ((config.c_maxsessions > 0)&&(num_sessions > config.c_maxsessions)) {
+       if (((config.c_maxsessions > 0)&&(num_sessions > config.c_maxsessions)) || CtdlWantSingleUser()) {
                con->nologin = 1;
        }
 
@@ -1292,10 +1292,6 @@ void do_command_loop(void) {
                cmd_movf(&cmdbuf[5]);
        }
 
-       else if (!strncasecmp(cmdbuf,"NETF",4)) {
-               cmd_netf(&cmdbuf[5]);
-       }
-
        else if (!strncasecmp(cmdbuf,"OPEN",4)) {
                cmd_open(&cmdbuf[5]);
        }