summaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c
index 90a388a..afebb10 100644
--- a/src/server.c
+++ b/src/server.c
@@ -129,7 +129,11 @@ static void eventPeriodicSyncSelfClient(void *p_nothink)
for( i = 0 ; i < listClient->count; i++)
{
thisClient = (client_t *) listClient->list[i];
- proto_send_newtux_server(PROTO_SEND_ONE, thisClient, thisClient->tux);
+
+ if( thisClient->tux != NULL )
+ {
+ proto_send_newtux_server(PROTO_SEND_ONE, thisClient, thisClient->tux);
+ }
}
}