ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/help.ext
(Generate patch)

Comparing deliantra/server/ext/help.ext (file contents):
Revision 1.8 by root, Tue Jun 26 23:09:30 2007 UTC vs.
Revision 1.10 by root, Wed Sep 19 21:56:30 2007 UTC

36} 36}
37 37
38cf::sync_job { 38cf::sync_job {
39 my $guard = cf::lock_acquire "ext::help::loading"; 39 my $guard = cf::lock_acquire "ext::help::loading";
40 cf::async_ext { 40 cf::async_ext {
41 $Coro::current->{desc} = "help loader";
41 reload; 42 reload;
42 undef $guard; 43 undef $guard;
43 }; 44 };
44}; 45};
45 46
79 80
80 $pl->reply (undef, $res); 81 $pl->reply (undef, $res);
81 82
82 } elsif (my $item = $TOPIC->{$topic}) { 83 } elsif (my $item = $TOPIC->{$topic}) {
83 my ($type, @pars) = @$item; 84 my ($type, @pars) = @$item;
84 $pl->reply (undef, cf::pod::as_text \@pars); 85 $pl->reply (undef, cf::pod::as_cfpod \@pars);
85 86
86 } else { 87 } else {
87 $pl->reply (undef, "'$topic' no such help topic, try just 'help' to get a list of topics."); 88 $pl->reply (undef, "'$topic' no such help topic, try just 'help' to get a list of topics.");
88 } 89 }
89}; 90};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines