Forráskód Böngészése

* Fixed binary config stating there was no change with -C under certain conditions.
(forgot to return the int set)


svn: 2256

Bryan Drewery 21 éve
szülő
commit
e130c01917
2 módosított fájl, 3 hozzáadás és 2 törlés
  1. 1 1
      doc/UPDATES
  2. 2 1
      src/conf.c

+ 1 - 1
doc/UPDATES

@@ -16,6 +16,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Changed order of 'rehashed config data from binary' notice to appear before any bot/userfile changes.
 * 'localhub's now check minutely if their bots need added or hosts added to userlist.
 * Fixed bot username casing causing bad cookies.
+* Fixed binary config stating there was no change with -C under certain conditions.
 
 1.2.4
 * Fixed cmd_botset not displaying botnick.
@@ -28,7 +29,6 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Fixed a small cosmetic error with displaying bot info in whois.
 * Fixed CPU lockup for bots which did not have NODENAME/USERNAME/SYSNAME entries filled out.
 * Slightly changed/added a comment in -C for uname.
-* Fixed binary config stating there was no change with -C under certain conditions.
 * Default binary name is now what you name it, or "wraith" if left in "wraith.OS-ver" format.
 * Increased buffer size in binary config for binname/binpath/homedir
 * Removed '+/-manop' from 'chanset' var and added to ignore list for chanset.

+ 2 - 1
src/conf.c

@@ -891,7 +891,8 @@ writeconf(char *filename, FILE * stream, int bits)
 
   if (!stream)
     fclose(f);
-  return 0;
+
+  return autowrote;
 }
 
 static void