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.8 by elmex, Thu Aug 20 18:12:13 2009 UTC vs.
Revision 1.9 by root, Wed Sep 2 00:05:56 2009 UTC

56 56
57 my $pay = $amount * $coin->value; 57 my $pay = $amount * $coin->value;
58 58
59 # First check for possible overflow and user stupidity 59 # First check for possible overflow and user stupidity
60 if ($pay > 2**30) { 60 if ($pay > 2**30) {
61 return "Sorry, we do not handle that kind of money for one $action."; 61 return "Sorry, we do not handle that amount of money for one $action.";
62 } elsif ($pay == 0) { 62 } elsif ($pay == 0) {
63 return "You can not $action nothing."; 63 return "You can not $action nothing.";
64 } elsif ($pay < 0) { 64 } elsif ($pay < 0) {
65 return "You can not $action negative values."; 65 return "You can not $action negative values.";
66 } 66 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines