about summary refs log tree commit diff
path: root/src/game/server/gs_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/gs_server.cpp')
-rw-r--r--src/game/server/gs_server.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/server/gs_server.cpp b/src/game/server/gs_server.cpp
index 816e2531..049268c6 100644
--- a/src/game/server/gs_server.cpp
+++ b/src/game/server/gs_server.cpp
@@ -2070,13 +2070,12 @@ void mods_message(int msgtype, int client_id)
 	if(msgtype == NETMSGTYPE_CL_SAY)
 	{
 		NETMSG_CL_SAY *msg = (NETMSG_CL_SAY *)rawmsg;
-		
 		int team = msg->team;
 		if(team)
 			team = players[client_id].team;
 		else
 			team = -1;
-		send_chat(client_id, msg->team, msg->message);
+		send_chat(client_id, team, msg->message);
 	}
 	else if (msgtype == NETMSGTYPE_CL_SETTEAM)
 	{