Changeset - r9271:8d3a8c4facb5
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-05-17 11:46:35
rubidium@openttd.org
(svn r13137) -Fix: do not send rcon commands of the server to the first client but do directly execute those on the server.
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/console_cmds.cpp
Show inline comments
 
@@ -536,7 +536,11 @@ DEF_CONSOLE_CMD(ConRcon)
 

	
 
	if (argc < 3) return false;
 

	
 
	SEND_COMMAND(PACKET_CLIENT_RCON)(argv[1], argv[2]);
 
	if (_network_server) {
 
		IConsoleCmdExec(argv[2]);
 
	} else {
 
		SEND_COMMAND(PACKET_CLIENT_RCON)(argv[1], argv[2]);
 
	}
 
	return true;
 
}
 

	
0 comments (0 inline, 0 general)