Fixed spacing in code around ! operator.
This commit is contained in:
@@ -28,7 +28,7 @@ public class CmdChat extends FCommand {
|
||||
|
||||
@Override
|
||||
public void perform() {
|
||||
if (! Conf.factionOnlyChat) {
|
||||
if (!Conf.factionOnlyChat) {
|
||||
msg(TL.COMMAND_CHAT_DISABLED.toString());
|
||||
return;
|
||||
}
|
||||
@@ -41,7 +41,7 @@ public class CmdChat extends FCommand {
|
||||
// Only allow Mods and higher rank to switch to this channel.
|
||||
if (modeString.startsWith("m") && fme.getRole().isAtLeast(Role.MODERATOR)) {
|
||||
modeTarget = ChatMode.MOD;
|
||||
} else if (modeString.startsWith("m") && ! fme.getRole().isAtLeast(Role.MODERATOR)) {
|
||||
} else if (modeString.startsWith("m") && !fme.getRole().isAtLeast(Role.MODERATOR)) {
|
||||
msg(TL.COMMAND_CHAT_MOD_ONLY);
|
||||
return;
|
||||
} else if (modeString.startsWith("p")) {
|
||||
|
||||
Reference in New Issue
Block a user