fix socialspy toggles

This commit is contained in:
Necrodoom 2013-06-26 09:56:56 +03:00
parent 3de3f00b11
commit cfc6ed9364

View File

@ -49,7 +49,7 @@ public class Commandsocialspy extends EssentialsToggleCommand
{
if (enabled == null)
{
throw new NotEnoughArgumentsException();
enabled = !user.isSocialSpyEnabled();
}
user.setSocialSpyEnabled(enabled);