Explorar o código

* Fixed hubs not showing as YELLOW in bottree

svn: 1559
Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
0ed7aa4f39
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/botnet.c

+ 1 - 1
src/botnet.c

@@ -654,7 +654,7 @@ void tell_bottree(int idx)
        
           if (botu && bot_hublevel(botu) < 999)
             color_str = (char *) YELLOW(idx);
-          if (botu && bot->localhub)
+          else if (botu && bot->localhub)
             color_str = (char *) RED(idx);
           else
             color_str = (char *) NULL;