ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/commands.ext
(Generate patch)

Comparing deliantra/maps/perl/commands.ext (file contents):
Revision 1.9 by root, Mon Oct 2 18:40:33 2006 UTC vs.
Revision 1.10 by root, Fri Oct 6 15:29:23 2006 UTC

77}; 77};
78 78
79cf::register_command rename => $cf::TICK, sub { 79cf::register_command rename => $cf::TICK, sub {
80 my ($ob, $arg) = @_; 80 my ($ob, $arg) = @_;
81 81
82 if ($arg =~ /^\s* (?: <([^>]+)> \s+)? to \s+ <([^>]+)> \s*$/x) { 82 if ($arg =~ /^\s* (?: <([^>]+)> \s+)? to \s+ <([^>]*)> \s*$/x) {
83 # compatibility syntax 83 # compatibility syntax
84 rename_to $ob, $1, $2; 84 rename_to $ob, $1, $2;
85 } elsif ($arg =~ / 85 } elsif ($arg =~ /
86 ^\s* 86 ^\s*
87 (?: 87 (?:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines