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

Comparing deliantra/server/ext/commands.ext (file contents):
Revision 1.14 by root, Fri Jan 5 22:47:18 2007 UTC vs.
Revision 1.16 by root, Thu Jan 11 01:06:02 2007 UTC

136 136
137 no re 'eval'; $arg = qr<$arg>; 137 no re 'eval'; $arg = qr<$arg>;
138 138
139 my $format = "%2s %1s %3s %5s %.60s\n"; 139 my $format = "%2s %1s %3s %5s %.60s\n";
140 140
141 $ob->reply (undef, sprintf $format, "Pl", "I", "Svd", "Reset", "Name", cf::NDI_BLACK | cf::NDI_UNIQUE); 141 $ob->reply (undef, (sprintf $format, "Pl", "I", "Svd", "Reset", "Name"), cf::NDI_BLACK | cf::NDI_UNIQUE);
142 142
143 for (sort keys %cf::MAP) { 143 for (sort keys %cf::MAP) {
144 my $map = $cf::MAP{$_} 144 my $map = $cf::MAP{$_}
145 or next; 145 or next;
146 146
147 next unless $map->path =~ $arg; 147 next unless $map->path =~ $arg;
148 next if $map->{path}->is_style_map;
148 149
149 my $svd = int $cf::RUNTIME - $map->{last_save}; 150 my $svd = int $cf::RUNTIME - $map->{last_save};
150 $svd = "++" if $svd > 99; 151 $svd = "++" if $svd > 99;
151 152
152 $ob->reply (undef, 153 $ob->reply (undef,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines