summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNecrodoom <doomed.war@gmail.com>2013-06-26 09:56:56 +0300
committerNecrodoom <doomed.war@gmail.com>2013-06-26 09:56:56 +0300
commitcfc6ed93641621f41dd17830506b56dc460d2499 (patch)
tree5088ef1bc42cae8269bf57753417da16e52fb2df
parent3de3f00b11ad2b245dc8c697c42f5c6def20c564 (diff)
downloadEssentials-cfc6ed93641621f41dd17830506b56dc460d2499.tar
Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.tar.gz
Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.tar.lz
Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.tar.xz
Essentials-cfc6ed93641621f41dd17830506b56dc460d2499.zip
fix socialspy toggles
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java b/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java
index 12cf46ecc..7796806b6 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandsocialspy.java
@@ -49,7 +49,7 @@ public class Commandsocialspy extends EssentialsToggleCommand
{
if (enabled == null)
{
- throw new NotEnoughArgumentsException();
+ enabled = !user.isSocialSpyEnabled();
}
user.setSocialSpyEnabled(enabled);