summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 11:20:32 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:54 +0000
commit44444b6d0dd3d5fbe04eb259f196021e370bdcf4 (patch)
tree9276e86559a223c952d43cbaaee6251cd2d3d121 /src
parent8c3de13b452432a481d2f2fcc8ee079c6b26d79b (diff)
Found a stray bit of tjw's patch that didn't make it in, and removed extra newline on console say
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;