ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.1 by root, Fri Feb 3 19:49:32 2006 UTC vs.
Revision 1.2 by root, Fri Feb 3 21:22:53 2006 UTC

158 158
159sub load_extensions { 159sub load_extensions {
160 my $LIBDIR = maps_directory "perl"; 160 my $LIBDIR = maps_directory "perl";
161 161
162 for my $ext (<$LIBDIR/*.ext>) { 162 for my $ext (<$LIBDIR/*.ext>) {
163 eval {
163 load_extension $ext; 164 load_extension $ext;
165 1
166 } or warn "$ext not loaded: $@";
164 } 167 }
165} 168}
166 169
167register_command "perl-reload", 0, sub { 170register_command "perl-reload", 0, sub {
168 my ($who, $arg) = @_; 171 my ($who, $arg) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines