--- deliantra/server/ext/help.ext 2007/06/26 23:09:30 1.8 +++ deliantra/server/ext/help.ext 2008/04/06 17:08:51 1.11 @@ -12,7 +12,7 @@ my $level = 1e9; for my $par (@$paragraphs) { - Coro::cede; + cf::cede_to_tick; if ($par->{type} eq "head2") { if ($par->{markup} =~ /^(\S+)/) { push @topics, $1 => [$type => $par]; @@ -38,6 +38,7 @@ cf::sync_job { my $guard = cf::lock_acquire "ext::help::loading"; cf::async_ext { + $Coro::current->{desc} = "help loader"; reload; undef $guard; }; @@ -81,7 +82,7 @@ } elsif (my $item = $TOPIC->{$topic}) { my ($type, @pars) = @$item; - $pl->reply (undef, cf::pod::as_text \@pars); + $pl->reply (undef, cf::pod::as_cfpod \@pars); } else { $pl->reply (undef, "'$topic' no such help topic, try just 'help' to get a list of topics.");