From 629091baa0b0bb9c8a7f67d4ac1ef3580ed7e02f Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 17 Apr 2015 08:15:36 +0200 Subject: [PATCH] In case of to many users online we throw an error; we have to stop processing too. --- citadel/modules/ctdlproto/serv_user.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2