summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Aveni <timothy@tacosareawesome.com>2012-06-21 06:17:26 -0400
committerTimothy Aveni <timothy@tacosareawesome.com>2012-06-21 06:17:26 -0400
commit38a2e2bcfd2fd811bab25c4b0b122b5bce9f3966 (patch)
tree87a59d3ac424335797bbf345232b18ee05f76d51
parentd77f6cbbf140943718532084f6da774ae4a828c2 (diff)
downloadEssentials-38a2e2bcfd2fd811bab25c4b0b122b5bce9f3966.tar
Essentials-38a2e2bcfd2fd811bab25c4b0b122b5bce9f3966.tar.gz
Essentials-38a2e2bcfd2fd811bab25c4b0b122b5bce9f3966.tar.lz
Essentials-38a2e2bcfd2fd811bab25c4b0b122b5bce9f3966.tar.xz
Essentials-38a2e2bcfd2fd811bab25c4b0b122b5bce9f3966.zip
Fix /vanish with no arguments doing nothing
-rw-r--r--Essentials/src/com/earth2me/essentials/User.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java
index e2cdc2b80..3da49ad8b 100644
--- a/Essentials/src/com/earth2me/essentials/User.java
+++ b/Essentials/src/com/earth2me/essentials/User.java
@@ -669,6 +669,7 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser
public void toggleVanished()
{
final boolean set = !vanished;
+ this.setVanished(set);
}
public boolean checkSignThrottle() {