From 44444b6d0dd3d5fbe04eb259f196021e370bdcf4 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 11:20:32 +0000 Subject: Found a stray bit of tjw's patch that didn't make it in, and removed extra newline on console say --- src/server/sv_ccmds.c | 4 ++-- src/server/sv_init.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/sv_ccmds.c b/src/server/sv_ccmds.c index d73f58be..33926d57 100644 --- a/src/server/sv_ccmds.c +++ b/src/server/sv_ccmds.c @@ -618,7 +618,7 @@ static void SV_ConSay_f(void) { return; } - strcpy (text, "console: "); + strcpy (text, "console: ^2"); p = Cmd_Args(); if ( *p == '"' ) { @@ -628,7 +628,7 @@ static void SV_ConSay_f(void) { strcat(text, p); - SV_SendServerCommand(NULL, "chat \"%s\n\"", text); + SV_SendServerCommand(NULL, "chat \"%s^7\"", text); } diff --git a/src/server/sv_init.c b/src/server/sv_init.c index 53a3d05c..5d760519 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -661,7 +661,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; -- cgit