aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_main.c b/code/server/sv_main.c
index 84c2e52..64a6d4c 100644
--- a/code/server/sv_main.c
+++ b/code/server/sv_main.c
@@ -258,7 +258,7 @@ void SV_MasterHeartbeat( void ) {
sv_master[i]->modified = qfalse;
continue;
}
- if ( !strstr( ":", sv_master[i]->string ) ) {
+ if ( !strchr( sv_master[i]->string, ':' ) ) {
adr[i].port = BigShort( PORT_MASTER );
}
Com_Printf( "%s resolved to %i.%i.%i.%i:%i\n", sv_master[i]->string,