diff --git a/exec/load/lightbar.js b/exec/load/lightbar.js
index d3a2ec154a52cf681ffe7d5f474593f9ebf24bc9..d8c1b0f94431768061dc17ac59eaa99ec4a711ff 100644
--- a/exec/load/lightbar.js
+++ b/exec/load/lightbar.js
@@ -362,11 +362,11 @@ Lightbar.prototype.draw = function(current)
 
 	if(current!=undefined)
 		this.current=current;
-	if(!(user.settings & USER_ANSI)) {
+	if(!console.term_supports(USER_ANSI)) {
 		alert("ANSI not supported!");
 		return;
 	}
-	if(!(user.settings & USER_COLOR)) {
+	if(!console.term_supports(USER_COLOR)) {
 		alert("Colour not supported!");
 		return;
 	}