aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/StreamerMode.java
diff options
context:
space:
mode:
authorunknown <james.jenour@protonmail.com>2020-07-05 07:17:21 +1000
committerunknown <james.jenour@protonmail.com>2020-07-05 07:17:21 +1000
commit009ed0ef14d3a5fd75be17ed2c90688202e69c85 (patch)
treea419b25440e6944f2cfff7f0f7279deea011b407 /src/main/java/io/github/moulberry/notenoughupdates/StreamerMode.java
parentbd6f658c6c53d160c40bc3b5fdead7b7b3dd20c4 (diff)
downloadnotenoughupdates-009ed0ef14d3a5fd75be17ed2c90688202e69c85.tar.gz
notenoughupdates-009ed0ef14d3a5fd75be17ed2c90688202e69c85.tar.bz2
notenoughupdates-009ed0ef14d3a5fd75be17ed2c90688202e69c85.zip
1.9
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/StreamerMode.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/StreamerMode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/StreamerMode.java b/src/main/java/io/github/moulberry/notenoughupdates/StreamerMode.java
index c7d5e8ae..47f2da10 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/StreamerMode.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/StreamerMode.java
@@ -20,7 +20,7 @@ public class StreamerMode {
long obfLobbyNum = (lobbyNum*9182739 + 11) % 500;
char obfLobbyLetter = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt((int)(obfLobbyNum%26));
- line = line.replaceAll("(mini|mega)([0-9]{1,3}[A-Z])", lobbyType+obfLobbyNum+obfLobbyLetter);
+ line = line.replaceAll("(mini|mega|m|M)([0-9]{1,3}[A-Z])", lobbyType+obfLobbyNum+obfLobbyLetter);
}
return line;
}