From 247baf298bf2425fd91297ea18d716e714cb3dc5 Mon Sep 17 00:00:00 2001 From: oroborus Date: Fri, 4 Jul 2008 19:16:27 +0000 Subject: - podpora bigAren :-) - radar git-svn-id: http://opensvn.csie.org/tuxanci_ng@90 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- modules/modWall.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/modWall.c b/modules/modWall.c index 056bb5c..d917309 100755 --- a/modules/modWall.c +++ b/modules/modWall.c @@ -322,10 +322,22 @@ void cmd(char *line) int destroy() { - destroySpaceWithObject(spaceWall, destroyWall); + if( spaceWall != NULL ) + { + destroySpaceWithObject(spaceWall, destroyWall); + } + #ifndef PUBLIC_SERVER - destroySpace(spaceImgWall); + if( spaceImgWall != NULL ) + { + destroySpace(spaceImgWall); + } #endif - destroyList(listWall); + + if( listWall != NULL ) + { + destroyList(listWall); + } + return 0; } -- cgit v1.2.3