Quellcode durchsuchen

* Hubs now enforce binpath/binname

svn: 1377
Bryan Drewery vor 21 Jahren
Ursprung
Commit
ce3b4e9694
2 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 0
      doc/UPDATES
  2. 0 2
      src/main.c

+ 1 - 0
doc/UPDATES

@@ -47,6 +47,7 @@ This is a summary of ChangeLog basically.
 * Fixed a problem with what ip was bined when using '.' as the ip.
 * Fixed a problem with what ip was bined when using '.' as the ip.
 * Fixed some problems with special characters in conf files.
 * Fixed some problems with special characters in conf files.
 * cmd_chaninfo/chanset didn't check for +private access correctly
 * cmd_chaninfo/chanset didn't check for +private access correctly
+* hubs now enforce binpath/binname as leaf bots do.
 
 
 1.1.9
 1.1.9
 
 

+ 0 - 2
src/main.c

@@ -622,7 +622,6 @@ static void startup_checks() {
   else if (fixmod(binname))
   else if (fixmod(binname))
    werr(ERR_BINMOD);
    werr(ERR_BINMOD);
 
 
-#ifdef LEAF
 #ifndef CYGWIN_HACKS
 #ifndef CYGWIN_HACKS
   /* move the binary to the correct place */
   /* move the binary to the correct place */
   {
   {
@@ -669,7 +668,6 @@ static void startup_checks() {
     }
     }
   }
   }
 #endif /* !CYGWIN_HACKS */
 #endif /* !CYGWIN_HACKS */
-#endif /* LEAF */
 
 
   fillconf(&conf);
   fillconf(&conf);
 #ifdef LEAF
 #ifdef LEAF