summaryrefslogtreecommitdiffstats
path: root/src/jake2/server/SV_MAIN.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2004-10-17 21:31:33 +0000
committerCarsten Weisse <[email protected]>2004-10-17 21:31:33 +0000
commite4d312fbb1ad8cd41df011543c5dc2f4fa08d214 (patch)
tree9e68ba0fd9c6c258f0a284ea53ff01adaa719704 /src/jake2/server/SV_MAIN.java
parentacd23027524869949409a8f84b1c13dcd4bc9c97 (diff)
NET methods refactored (name cleanup)
Diffstat (limited to 'src/jake2/server/SV_MAIN.java')
-rw-r--r--src/jake2/server/SV_MAIN.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jake2/server/SV_MAIN.java b/src/jake2/server/SV_MAIN.java
index 41d5789..ea2a8ad 100644
--- a/src/jake2/server/SV_MAIN.java
+++ b/src/jake2/server/SV_MAIN.java
@@ -19,7 +19,7 @@
*/
// Created on 13.01.2004 by RST.
-// $Id: SV_MAIN.java,v 1.8 2004-09-22 19:22:12 salomo Exp $
+// $Id: SV_MAIN.java,v 1.9 2004-10-17 21:31:32 cawe Exp $
package jake2.server;
import jake2.Defines;
@@ -257,7 +257,7 @@ public class SV_MAIN {
// see if we already have a challenge for this ip
for (i = 0; i < Defines.MAX_CHALLENGES; i++) {
- if (NET.NET_CompareBaseAdr(Globals.net_from,
+ if (NET.CompareBaseAdr(Globals.net_from,
SV_INIT.svs.challenges[i].adr))
break;
if (SV_INIT.svs.challenges[i].time < oldestTime) {
@@ -330,7 +330,7 @@ public class SV_MAIN {
// see if the challenge is valid
if (!NET.IsLocalAddress(adr)) {
for (i = 0; i < Defines.MAX_CHALLENGES; i++) {
- if (NET.NET_CompareBaseAdr(Globals.net_from,
+ if (NET.CompareBaseAdr(Globals.net_from,
SV_INIT.svs.challenges[i].adr)) {
if (challenge == SV_INIT.svs.challenges[i].challenge)
break; // good
@@ -352,7 +352,7 @@ public class SV_MAIN {
if (cl.state == Defines.cs_free)
continue;
- if (NET.NET_CompareBaseAdr(adr, cl.netchan.remote_address)
+ if (NET.CompareBaseAdr(adr, cl.netchan.remote_address)
&& (cl.netchan.qport == qport || adr.port == cl.netchan.remote_address.port)) {
if (!NET.IsLocalAddress(adr)
&& (SV_INIT.svs.realtime - cl.lastconnect) < ((int) SV_MAIN.sv_reconnect_limit.value * 1000)) {
@@ -627,7 +627,7 @@ public class SV_MAIN {
cl = SV_INIT.svs.clients[i];
if (cl.state == Defines.cs_free)
continue;
- if (!NET.NET_CompareBaseAdr(Globals.net_from,
+ if (!NET.CompareBaseAdr(Globals.net_from,
cl.netchan.remote_address))
continue;
if (cl.netchan.qport != qport)
@@ -776,7 +776,7 @@ public class SV_MAIN {
Com.Printf("sv lowclamp\n");
SV_INIT.svs.realtime = SV_INIT.sv.time - 100;
}
- NET.NET_Sleep(SV_INIT.sv.time - SV_INIT.svs.realtime);
+ NET.Sleep(SV_INIT.sv.time - SV_INIT.svs.realtime);
return;
}