summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/sv_ccmds.c4
-rw-r--r--src/server/sv_init.c2
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;