summaryrefslogtreecommitdiff
path: root/source/sv_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_main.c')
-rw-r--r--source/sv_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/sv_main.c b/source/sv_main.c
index c7e3a40..9c8d2a0 100644
--- a/source/sv_main.c
+++ b/source/sv_main.c
@@ -705,7 +705,7 @@ static void SVC_DirectConnect( void ) {
}
s = Info_ValueForKey( info, "name" );
- if( Q_IsWhiteSpace( s ) ) {
+ if( COM_iswhite( s ) ) {
SV_OobPrintf( "Please set your name before connecting.\n" );
Com_DPrintf( " rejected - empty name.\n" );
return;
@@ -1665,7 +1665,7 @@ void SV_UpdateUserinfo( char *userinfo ) {
}
s = Info_ValueForKey( userinfo, "name" );
- if( Q_IsWhiteSpace( s ) ) {
+ if( COM_iswhite( s ) ) {
if( sv_client->name[0] ) {
SV_ClientCommand( sv_client, "set name \"%s\"\n", sv_client->name );
} else {