For sessions using the Citadel wire protocol, follow
authorArt Cancro <ajc@citadel.org>
Mon, 19 Feb 2007 15:57:41 +0000 (15:57 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 19 Feb 2007 15:57:41 +0000 (15:57 +0000)
the 'too many users are online' message with a forcible
session disconnect.

citadel/citserver.c

index bfe27e51895922daca347410f378478c059a8a7b..2a034e5f69f05277b7d30f89f2b1f9263d7c923f 100644 (file)
@@ -882,6 +882,7 @@ void citproto_begin_session() {
                        ERROR + MAX_SESSIONS_EXCEEDED,
                        config.c_nodename, config.c_maxsessions
                );
+               CC->kill_me = 1;
        }
        else {
                cprintf("%d %s Citadel server ready.\n",