From b877ae23ac5d380ab3aa48d7724045cf4883b186 Mon Sep 17 00:00:00 2001 From: oroborus Date: Fri, 27 Jun 2008 21:23:30 +0000 Subject: - oprava chyby -- server sa pri obsluhe "status" zrutil git-svn-id: http://opensvn.csie.org/tuxanci_ng@76 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/server.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/server.c b/src/server.c index dcc475c..7d5c198 100644 --- a/src/server.c +++ b/src/server.c @@ -430,6 +430,11 @@ static void addMsgAllClientSeesTux(char *msg, tux_t *tux, int type, int id) thisClient = (client_t *)listClient->list[i]; thisTux = (tux_t *)thisClient->tux; + if( thisTux == NULL ) + { + continue; + } + if( tux != thisTux && isTuxSeesTux(thisTux, tux) ) { -- cgit v1.2.3