Explorar el Código

* cmd_bots was showing wrong number of bots up

svn: 1164
Bryan Drewery hace 22 años
padre
commit
4a6d4c08ee
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      doc/UPDATES
  2. 1 0
      src/botnet.c

+ 1 - 0
doc/UPDATES

@@ -10,6 +10,7 @@ This is a summary of ChangeLog basically.
 * All dates are UTC (GMT) now.
 * cmd_newleaf was sharing the new bot incorrectly.
 * Fixed a cosmetic/memory bug in cmd_who.
+* cmd_bots was displaying the wrong number of bots up.
 
 1.1.9
 

+ 1 - 0
src/botnet.c

@@ -546,6 +546,7 @@ tell_bots(int idx, int up)
     strcat(work, conf.bot->nick);
     strcat(work, " ");
     cnt++;
+    tot++;
   }
 
   for (u = userlist; u; u = u->next) {