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

Comparing deliantra/server/ext/bank.ext (file contents):
Revision 1.1 by root, Fri Dec 15 19:29:18 2006 UTC vs.
Revision 1.2 by root, Sun Jan 7 02:39:14 2007 UTC

150 $currency = "royalty"; 150 $currency = "royalty";
151 } 151 }
152 152
153 if ($cmd eq "balance") { 153 if ($cmd eq "balance") {
154 if ($who->flag (cf::FLAG_WIZ)) { 154 if ($who->flag (cf::FLAG_WIZ)) {
155 if (my $player = cf::player::find $arguments) { 155 if (my $player = cf::player::find_active $arguments) {
156 $who->reply ($npc, balance $player->ob, 1); 156 $who->reply ($npc, balance $player->ob, 1);
157 } 157 }
158 } else { 158 } else {
159 $who->reply ($npc, balance $who, 0); 159 $who->reply ($npc, balance $who, 0);
160 } 160 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines