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

Comparing deliantra/server/ext/Jeweler.pm (file contents):
Revision 1.33 by root, Wed Apr 28 21:05:33 2010 UTC vs.
Revision 1.34 by root, Wed Apr 28 21:07:41 2010 UTC

21=cut 21=cut
22 22
23our $CFG; 23our $CFG;
24 24
25sub load_config { 25sub load_config {
26 warn "loading jeweler config from $cf::DATADIR/jeweler\n";
27
26 0 < Coro::AIO::aio_load "$cf::DATADIR/jeweler", my $data 28 0 < Coro::AIO::aio_load "$cf::DATADIR/jeweler", my $data
27 or die "$cf::DATADIR/jeweler: $!"; 29 or die "$cf::DATADIR/jeweler: $!";
28 30
29 $CFG = cf::decode_json $data; 31 $CFG = cf::decode_json $data;
30} 32}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines