diff options
author | PandaNinjas <admin@malwarefight.gq> | 2023-02-09 19:33:00 -0800 |
---|---|---|
committer | PandaNinjas <admin@malwarefight.gq> | 2023-02-09 19:33:00 -0800 |
commit | ca54d9316d01040823815462f65f810c91143c04 (patch) | |
tree | 5f51658e7b36527b30ec422fe3822bd7940b95c2 /src/main/java/gq/malwarefight/nosession/tweaks/initial | |
parent | 661d40251d6f8f98497aa61f5ea2e3c67f8e9190 (diff) | |
download | NoSession-ca54d9316d01040823815462f65f810c91143c04.tar.gz NoSession-ca54d9316d01040823815462f65f810c91143c04.tar.bz2 NoSession-ca54d9316d01040823815462f65f810c91143c04.zip |
Google code style but with 4 spaces instead of 2
Diffstat (limited to 'src/main/java/gq/malwarefight/nosession/tweaks/initial')
-rw-r--r-- | src/main/java/gq/malwarefight/nosession/tweaks/initial/InitialTweaker.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gq/malwarefight/nosession/tweaks/initial/InitialTweaker.java b/src/main/java/gq/malwarefight/nosession/tweaks/initial/InitialTweaker.java index 21b2646..aae8bb6 100644 --- a/src/main/java/gq/malwarefight/nosession/tweaks/initial/InitialTweaker.java +++ b/src/main/java/gq/malwarefight/nosession/tweaks/initial/InitialTweaker.java @@ -49,14 +49,14 @@ public class InitialTweaker implements ITweaker { } } if (isRelaunch) { - String finalUuid = uuid; - if (finalUuid == null) { + String finalUUID = uuid; + if (finalUUID == null) { return; // if we don't have a uuid, quit } Runtime.getRuntime().addShutdownHook( new Thread(() -> { try { - Socket socket = Utils.getProperSocket(UUID.fromString(finalUuid)); + Socket socket = Utils.getProperSocket(UUID.fromString(Utils.normalizeUUID(finalUUID))); socket.getOutputStream().write("fullquit\n".getBytes(StandardCharsets.UTF_8)); socket.close(); } catch (Exception e) { |