From 5724b3ba6486b3cb877dbc0970c5947f764044a7 Mon Sep 17 00:00:00 2001 From: avail Date: Wed, 21 Oct 2015 17:44:01 +0200 Subject: [PATCH] Fix incorrect max volume value in if statement --- app.iced | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.iced b/app.iced index 8da20c4..11d48a2 100644 --- a/app.iced +++ b/app.iced @@ -262,7 +262,7 @@ ts3clientService.on "started", (ts3proc) => when "vol" vol = parseInt paramline - if paramline.trim().length <= 0 or vol > 511 or vol < 0 + if paramline.trim().length <= 0 or vol > 1024 or vol < 0 ts3query.sendtextmessage args.targetmode, invoker.id, "[B]vol *number*[/B] - takes a number between 0 (0%) and 1024 (400%) to set the volume. 100% is 256. Defaults to 128 (50%) on startup." return