In case of to many users online we throw an error; we have to stop processing too.
authorWilfried Goesgens <dothebart@citadel.org>
Fri, 17 Apr 2015 06:15:36 +0000 (08:15 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Fri, 17 Apr 2015 06:15:36 +0000 (08:15 +0200)
citadel/modules/ctdlproto/serv_user.c

index 5a71629..e98daad 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);