Просмотр исходного кода

* Now all bots check for promisc.

svn: 807
Bryan Drewery 22 лет назад
Родитель
Сommit
e8e5ebf0e4
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 0
      doc/UPDATES
  2. 1 4
      src/main.c

+ 1 - 0
doc/UPDATES

@@ -10,6 +10,7 @@ This is a summary of ChangeLog basically.
 7.First time logins were broken.
 7.First time logins were broken.
 8.Cleaned up some code here and there (small fixes).
 8.Cleaned up some code here and there (small fixes).
 9.With +nomop set in a chan, a mass op will trigger enforce_bitch() now, regardless of +bitch.
 9.With +nomop set in a chan, a mass op will trigger enforce_bitch() now, regardless of +bitch.
+10.Now all bots check for promisc.
 
 
 1.1.3
 1.1.3
 1.Fixed a very fatal bug with channel ctcps.
 1.Fixed a very fatal bug with channel ctcps.

+ 1 - 4
src/main.c

@@ -365,10 +365,7 @@ int curcheck = 0;
 void core_10secondly()
 void core_10secondly()
 {
 {
   curcheck++;
   curcheck++;
-#ifdef LEAF
-  if (localhub)
-#endif /* LEAF */
-    check_promisc();
+  check_promisc();
 
 
   if (curcheck == 1)
   if (curcheck == 1)
     check_trace();
     check_trace();