summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/sv_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/sv_main.c b/src/server/sv_main.c
index f525f5c5..b40d173f 100644
--- a/src/server/sv_main.c
+++ b/src/server/sv_main.c
@@ -256,7 +256,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,