From: Wilfried Goesgens Date: Fri, 17 Apr 2015 06:15:36 +0000 (+0200) Subject: In case of to many users online we throw an error; we have to stop processing too. X-Git-Tag: Release_902~167^2~38 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=629091baa0b0bb9c8a7f67d4ac1ef3580ed7e02f In case of to many users online we throw an error; we have to stop processing too. --- diff --git a/citadel/modules/ctdlproto/serv_user.c b/citadel/modules/ctdlproto/serv_user.c index 5a7162977..e98daad9f 100644 --- a/citadel/modules/ctdlproto/serv_user.c +++ b/citadel/modules/ctdlproto/serv_user.c @@ -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);