فهرست منبع

* Removed define RANDSERVERS

svn: 1154
Bryan Drewery 22 سال پیش
والد
کامیت
8715561f37
3فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 0 1
      config.h.in
  2. 1 0
      doc/UPDATES
  3. 0 2
      src/cfg.c

+ 0 - 1
config.h.in

@@ -346,6 +346,5 @@
 #undef S_MSGCMDS
 #undef S_NAZIPASS
 #undef S_PSCLOAK
-#undef S_RANDSERVERS
 #undef S_SPLITHIJACK
 #undef S_UTCTIME

+ 1 - 0
doc/UPDATES

@@ -5,6 +5,7 @@ This is a summary of ChangeLog basically.
 * Wrote new 'response' code for misc stuff like kick reasons, and dcc responses...
 * Removed many unnecesary compile defines: (.config controlling them makes more sense)
   ANTITRACE, HIJACKCHECK, LASTCHECK, NODELAY, PROCESSCHECK, PROMISC, AUTHCMDS, CONFEDIT
+  RANDSERVERS
 
 1.1.9
 

+ 0 - 2
src/cfg.c

@@ -473,9 +473,7 @@ static void servers_changed(struct cfg_entry * entry, char * olddata, int * vali
     clearq(serverlist);
     serverlist = NULL;
   }
-#ifdef S_RANDSERVERS
   shuffle(slist, ",");
-#endif /* S_RANDSERVERS */
   p = strdup(slist);
   add_server(p);
   free(p);