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.5 by root, Thu Apr 10 15:35:16 2008 UTC vs.
Revision 1.6 by root, Fri May 2 16:16:02 2008 UTC

133 133
134 if ($cmd eq "balance") { 134 if ($cmd eq "balance") {
135 if ($who->flag (cf::FLAG_WIZ) && $arguments =~ /\S/) { 135 if ($who->flag (cf::FLAG_WIZ) && $arguments =~ /\S/) {
136 cf::async { 136 cf::async {
137 if (my $player = cf::player::find $arguments) { 137 if (my $player = cf::player::find $arguments) {
138 $who->contr->send_msg ( 138 $who->reply ($npc,
139 $ext::chat::SAY_CHANNEL, "Nancy says: " . balance ($player->ob, 1), 139 "Nancy says: " . balance ($player->ob, 1),
140 cf::NDI_BROWN | cf::NDI_REPLY 140 cf::NDI_BROWN | cf::NDI_REPLY
141 ) if $who->contr; 141 );
142 } 142 }
143 }; 143 };
144 } else { 144 } else {
145 $who->reply ($npc, balance ($who, 0)); 145 $who->reply ($npc, balance ($who, 0));
146 } 146 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines