aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_init.c b/code/server/sv_init.c
index 9284127..69d08ea 100644
--- a/code/server/sv_init.c
+++ b/code/server/sv_init.c
@@ -708,7 +708,7 @@ void SV_FinalMessage( char *message ) {
// don't send a disconnect to a local client
if ( cl->netchan.remoteAddress.type != NA_LOOPBACK ) {
SV_SendServerCommand( cl, "print \"%s\n\"\n", message );
- SV_SendServerCommand( cl, "disconnect" );
+ SV_SendServerCommand( cl, "disconnect \"%s\"", message );
}
// force a snapshot to be sent
cl->nextSnapshotTime = -1;