diff options
| -rw-r--r-- | config.h | 2 | ||||
| -rw-r--r-- | src/server.c | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -6,7 +6,7 @@ #define DEBUG_CLIENT_RECV */ -#define TUXANCI_NG_VERSION "svn75" +#define TUXANCI_NG_VERSION "svn76" #define DESTDIR "/usr/local/" #define SUPPORT_NET_UNIX_UDP 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) ) { |