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.376 by root, Mon Oct 1 00:44:44 2007 UTC vs.
Revision 1.377 by root, Thu Oct 4 11:36:38 2007 UTC

2276 my ($ref) = @_; 2276 my ($ref) = @_;
2277 2277
2278 # temporary compatibility#TODO#remove 2278 # temporary compatibility#TODO#remove
2279 $ref =~ s{^<}{player/<}; 2279 $ref =~ s{^<}{player/<};
2280 2280
2281 if ($ref =~ m{^player\/(<1\.\d+>)/(.*)$}) { 2281 if ($ref =~ m{^player\/(<1\.[0-9a-f]+>)/(.*)$}) {
2282 my ($uuid, $name) = ($1, $2); 2282 my ($uuid, $name) = ($1, $2);
2283 my $pl = $cf::PLAYER_LOADING{$name} || cf::player::find $name 2283 my $pl = $cf::PLAYER_LOADING{$name} || cf::player::find $name
2284 or return; 2284 or return;
2285 $pl->ob->uuid eq $uuid 2285 $pl->ob->uuid eq $uuid
2286 or return; 2286 or return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines