From 95fe3249cc0858b2fff2c6c7843b1320a1bdc846 Mon Sep 17 00:00:00 2001 From: icedream Date: Thu, 5 Nov 2015 19:41:48 +0100 Subject: [PATCH] Missing ) in config.iced. --- config.iced | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.iced b/config.iced index db31045..5cddbfd 100644 --- a/config.iced +++ b/config.iced @@ -28,7 +28,7 @@ nconf.defaults if not nconf.get("ts3-server") throw new Error "You need to provide a TeamSpeak3 server URL (starts with ts3server:// and can be generated from any TS3 client GUI)." -if nconf.get("nickname")? and (nconf.get("nickname").length < 3 or nconf.get("nickname").length > 30 +if nconf.get("nickname")? and (nconf.get("nickname").length < 3 or nconf.get("nickname").length > 30) throw new Error "Nickname must be between 3 and 30 characters long." console.log "Configuration loaded."