Bryan Drewery 21 лет назад
Родитель
Сommit
1e9b78721c
2 измененных файлов с 1 добавлено и 2 удалено
  1. 1 1
      src/botnet.c
  2. 0 1
      src/mod/server.mod/server.c

+ 1 - 1
src/botnet.c

@@ -1527,7 +1527,7 @@ void check_botnet_pings()
 
   for (i = 0; i < dcc_total; i++) {
     if (dcc[i].type && dcc[i].type == &DCC_BOT) {
-      if (dcc[i].status & STAT_LEAF)) {
+      if (dcc[i].status & STAT_LEAF) {
         tand_t *via = findbot(dcc[i].nick);
 
         for (bot = tandbot; bot; bot = bot->next) {

+ 0 - 1
src/mod/server.mod/server.c

@@ -990,7 +990,6 @@ static void server_5minutely()
        */
       disconnect_server(servidx, DO_LOST);
       putlog(LOG_SERV, "*", IRC_SERVERSTONED);
-    }
   }
 }