--- deliantra/server/ext/login.ext 2007/09/02 12:37:10 1.70 +++ deliantra/server/ext/login.ext 2007/09/02 12:45:44 1.71 @@ -118,8 +118,12 @@ sub nuke_playerdir { my ($user) = @_; - aio_rename "$PLAYERDIR/$user", "$PLAYERDIR/~$Coro::current~deleting~"; - system "rm -rf \Q$PLAYERDIR/~$Coro::current~deleting~\E &"; + my $temp = "$PLAYERDIR/~$Coro::current~deleting~"; + + cf::fork_call { + rename "$PLAYERDIR/$user", $temp; + system "rm", "-rf", $temp; + }; } cf::client->attach (on_addme => sub {