In case of to many users online we throw an error; we have to stop processing too.
[citadel.git] / citadel / modules / ctdlproto / serv_user.c
index 5a7162977c717e91f5a2decbffa3d77d420c4670..e98daad9fa9e26f6d9e8f3ff79b61362a1f80c76 100644 (file)
@@ -119,6 +119,7 @@ void cmd_newu(char *cmdbuf)
                cprintf("%d %s: Too many users are already online (maximum is %d)\n",
                        ERROR + MAX_SESSIONS_EXCEEDED,
                        config.c_nodename, config.c_maxsessions);
+               return;
        }
        extract_token(username, cmdbuf, 0, '|', sizeof username);
        strproc(username);