summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-10 21:36:50 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-10 21:36:50 +0000
commitd083325402eb6b38547dcf83ddccd947e0c54dce (patch)
tree1567f0b941d909eaa77b86b1e9a96ebf6a3104d6
parent4d1a4adee1312b6eec5431badd2eedd0ae08cba0 (diff)
downloadEssentials-d083325402eb6b38547dcf83ddccd947e0c54dce.tar
Essentials-d083325402eb6b38547dcf83ddccd947e0c54dce.tar.gz
Essentials-d083325402eb6b38547dcf83ddccd947e0c54dce.tar.lz
Essentials-d083325402eb6b38547dcf83ddccd947e0c54dce.tar.xz
Essentials-d083325402eb6b38547dcf83ddccd947e0c54dce.zip
Permission essentials.balance.other is now essentials.balance.others
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1415 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandbalance.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbalance.java b/Essentials/src/com/earth2me/essentials/commands/Commandbalance.java
index 86eb1f014..13a722d0e 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandbalance.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandbalance.java
@@ -28,8 +28,8 @@ public class Commandbalance extends EssentialsCommand
{
charge(user);
double bal = (args.length < 1
- || !user.isAuthorized("essentials.balance.others")
- || !user.isAuthorized("essentials.balance.other")
+ || !(user.isAuthorized("essentials.balance.others")
+ || user.isAuthorized("essentials.balance.other"))
? user
: getPlayer(server, args, 0)).getMoney();
user.sendMessage(Util.format("balance", Util.formatCurrency(bal)));