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.35 by root, Wed Mar 14 15:44:47 2007 UTC vs.
Revision 1.36 by root, Fri Mar 16 02:37:54 2007 UTC

264 264
265 return $ob->reply (undef, sprintf "Output rate is presently %dbps.", $ob->contr->ns->max_rate / $cf::TICK) 265 return $ob->reply (undef, sprintf "Output rate is presently %dbps.", $ob->contr->ns->max_rate / $cf::TICK)
266 unless $arg > 0; 266 unless $arg > 0;
267 267
268 $ob->contr->ns->max_rate ($arg * $cf::TICK); 268 $ob->contr->ns->max_rate ($arg * $cf::TICK);
269 $ob->reply (undef, sprintf "Output rate now set to%dbps.", $ob->contr->ns->max_rate / $cf::TICK); 269 $ob->reply (undef, sprintf "Output rate now set to %dbps.", $ob->contr->ns->max_rate / $cf::TICK);
270 270
271 1 271 1
272}; 272};
273 273
274cf::register_command 'output-count' => sub { 274cf::register_command 'output-count' => sub {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines