]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
(Round 6) Break up host_cmd.c
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index 1392be6360c0e8d382977192a2c8f23d3a8d1530..7363590efdf3cee0265f297d105226706d2fbf9a 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -1307,7 +1307,7 @@ Key_Message (cmd_state_t *cmd, int key, int ascii)
                if(chat_mode < 0)
                        Cmd_ExecuteString(cmd, chat_buffer, src_command, true); // not Cbuf_AddText to allow semiclons in args; however, this allows no variables then. Use aliases!
                else
-                       Cmd_ForwardStringToServer(va(vabuf, sizeof(vabuf), "%s %s", chat_mode ? "say_team" : "say ", chat_buffer));
+                       CL_ForwardToServer(va(vabuf, sizeof(vabuf), "%s %s", chat_mode ? "say_team" : "say ", chat_buffer));
 
                key_dest = key_game;
                chat_bufferpos = Key_ClearEditLine(false);