about summary refs log tree commit diff
path: root/src/engine/shared/config_variables.h
diff options
context:
space:
mode:
authorxalduin <xalduin@gmail.com>2010-06-03 09:36:24 -0400
committerxalduin <xalduin@gmail.com>2010-06-03 09:36:24 -0400
commit6491dfc16cbe5bff4462dafd51485ecc2308c81c (patch)
treefaa62daa7babe21095a56aad055273a6e5e0c045 /src/engine/shared/config_variables.h
parentde1a7acfaa706e39f6e0d9b27c5f4b4658145c6d (diff)
parent5988b9d38801f0987f38c99fb944e1a861d07ef3 (diff)
downloadzcatch-6491dfc16cbe5bff4462dafd51485ecc2308c81c.tar.gz
zcatch-6491dfc16cbe5bff4462dafd51485ecc2308c81c.zip
Merge branch 'master' of git://github.com/matricks/teeworlds
Diffstat (limited to 'src/engine/shared/config_variables.h')
-rw-r--r--src/engine/shared/config_variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/shared/config_variables.h b/src/engine/shared/config_variables.h
index cc36b932..e11eab6d 100644
--- a/src/engine/shared/config_variables.h
+++ b/src/engine/shared/config_variables.h
@@ -64,6 +64,7 @@ MACRO_CONFIG_INT(SvPort, sv_port, 8303, 0, 0, CFGFLAG_SERVER, "Port to use for t
 MACRO_CONFIG_INT(SvExternalPort, sv_external_port, 0, 0, 0, CFGFLAG_SERVER, "External port to report to the master servers")
 MACRO_CONFIG_STR(SvMap, sv_map, 128, "dm1", CFGFLAG_SERVER, "Map to use on the server")
 MACRO_CONFIG_INT(SvMaxClients, sv_max_clients, 8, 1, MAX_CLIENTS, CFGFLAG_SERVER, "Maximum number of clients that are allowed on a server")
+MACRO_CONFIG_INT(SvMaxClientsPerIP, sv_max_clients_per_ip, 8, 1, MAX_CLIENTS, CFGFLAG_SERVER, "Maximum number of clients with the same IP that can connect to the server")
 MACRO_CONFIG_INT(SvHighBandwidth, sv_high_bandwidth, 0, 0, 1, CFGFLAG_SERVER, "Use high bandwidth mode. Doubles the bandwidth required for the server. LAN use only")
 MACRO_CONFIG_INT(SvRegister, sv_register, 1, 0, 1, CFGFLAG_SERVER, "Register server with master server for public listing")
 MACRO_CONFIG_STR(SvRconPassword, sv_rcon_password, 32, "", CFGFLAG_SERVER, "Remote console password")