From c07bf8270db3ffd2cbcdaf11690ee0a5cee8c74d Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Sat, 7 Nov 2015 22:05:29 +0000
Subject: [PATCH] Remove redundant code.

---
 exec/dorkit/attribute.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/exec/dorkit/attribute.js b/exec/dorkit/attribute.js
index 1ad0be0482..a4c9a272ca 100644
--- a/exec/dorkit/attribute.js
+++ b/exec/dorkit/attribute.js
@@ -63,10 +63,7 @@ Attribute.prototype = {
 			return str;	// Unchanged
 
 		str = "\x1b[";
-		if (curatr === undefined) {
-			curatr = new Attribute(7);
-			str += '0;';
-		}
+
 		if(curatr === undefined || (!(this.bright) && curatr.bright)
 				|| (!(this.blink) && curatr.blink) || atr==LIGHTGRAY) {
 			str += "0;";
-- 
GitLab