Răsfoiți Sursa

* Removed support for bots older than 1.2.4
* Implemented a hack to fix a bug with link encryptions.


svn: 2366

Bryan Drewery 21 ani în urmă
părinte
comite
522b486197
3 a modificat fișierele cu 7 adăugiri și 2 ștergeri
  1. 2 0
      doc/UPDATES
  2. 3 1
      src/enclink.c
  3. 2 1
      src/enclink.h

+ 2 - 0
doc/UPDATES

@@ -32,6 +32,8 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Disabled chanset flags '+/-revenge' and '+/-revengebot' as they are 100% incompatable/untouched egg code.
 * Fixed an issue with cmd_pls_host not adding all hosts given, and 'hostmask already there' now displays WHICH host. (#153)
 * Fixed binary data parsing to strip trailing spaces for entries.
+* Removed support for bots older than 1.2.4
+* Implemented a hack to fix a bug with link encryptions.
 
 1.2.6
 * (REVERTED FROM 1.2.3) Disabled all memory allocations after a segfault (Fixes CPU spinning)

+ 3 - 1
src/enclink.c

@@ -354,7 +354,9 @@ void link_get_method(int idx)
 
 /* the order of entries here determines which will be picked */
 struct enc_link enclink[] = {
-  { "ghost+case", LINK_GHOSTCASE, ghost_link_case, ghost_write, ghost_read, ghost_parse },
+  { "ghost+case2", LINK_GHOSTCASE2, ghost_link_case, ghost_write, ghost_read, ghost_parse },
+// Disabled this one so 1.2.6->1.2.7 will use cleartext, as some 1.2.6 nets have an empty BDHASH
+//  { "ghost+case", LINK_GHOSTCASE, ghost_link_case, ghost_write, ghost_read, ghost_parse },
   { "cleartext", LINK_CLEARTEXT, NULL, NULL, NULL, NULL },
   { NULL, 0, NULL, NULL, NULL, NULL }
 };

+ 2 - 1
src/enclink.h

@@ -14,7 +14,8 @@ enum {
         LINK_GHOSTSHA1, /* attic */
         LINK_GHOSTMD5, /* attic */
         LINK_CLEARTEXT,
-	LINK_GHOSTCASE
+	LINK_GHOSTCASE, /* attic */
+	LINK_GHOSTCASE2
 };
 enum direction_t {
         FROM,