]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/colour.js
add "Extended mIRC Colours" support
[irc/quakenet/qwebirc.git] / js / ui / colour.js
index 7221fe380b09fc848cb69b70a7c9814ccee98554..da7d83fe2fb5de08531040b919e07690a3f51883 100644 (file)
@@ -129,9 +129,9 @@ qwebirc.ui.Colourise = function(line, entity, execfn, cmdfn, window) {
       emitEndToken();
       
       i = parseColours(xline, i);
-      if(bg > 15)
+      if(bg >= 99)
         bg = undefined;
-      if(fg > 15)
+      if(fg >= 99)
         fg = undefined;
         
       emitStartToken();