aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt
index 805ff114..7758e780 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt
@@ -212,7 +212,7 @@ class DevTestCommand {
MiscUtils.copyToClipboard(tabList)
reply("Copied tablist to clipboard!")
}.withHelp("Copy the tab list")
- thenLiteralExecute("useragent") {
+ thenLiteral("useragent") {
thenArgumentExecute("newuseragent", RestArgumentType) { userAgent ->
reply("Setting your user agent to ${this[userAgent]}")
NotEnoughUpdates.INSTANCE.config.hidden.customUserAgent = this[userAgent]