summaryrefslogtreecommitdiff
path: root/modules/modWall.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/modWall.c')
-rwxr-xr-xmodules/modWall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/modWall.c b/modules/modWall.c
index 2bed2ef..056bb5c 100755
--- a/modules/modWall.c
+++ b/modules/modWall.c
@@ -322,10 +322,10 @@ void cmd(char *line)
int destroy()
{
- destroySpace(spaceWall);
+ destroySpaceWithObject(spaceWall, destroyWall);
#ifndef PUBLIC_SERVER
destroySpace(spaceImgWall);
#endif
- destroyListItem(listWall, destroyWall);
+ destroyList(listWall);
return 0;
}