Explorar el Código

* Ported [2693] to 1.2.9

svn: 2694
Bryan Drewery hace 20 años
padre
commit
b05df3b5f1
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/conf.c

+ 1 - 0
doc/UPDATES

@@ -49,6 +49,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * The respository is now stored in subversion; binaries now hold a revision number.
 * cmd_botcmd <?> now displays which bot is chosen in the log. (#192)
 * There is now a 'datadir' option in the binary config. The tempdir is still automatically found. (#162)
+* The datadir defaults to './.../' replacing the old '~/.ssh/.../'
 * Fixed ACTION ctcp log msg to be more standard. (fixes #138)
 * Added set var 'notify-time' to change the interval for regaining nick. (fixes #182)
 * Fixed segfault caused by CHANFIX/server modes. (fixes #25)

+ 1 - 1
src/conf.c

@@ -366,7 +366,7 @@ init_conf()
   conf.uname = NULL;
   conf.username = NULL;
   conf.homedir = NULL;
-  conf.datadir = strdup("~/.ssh/...");
+  conf.datadir = strdup("./...");
   expand_tilde(&conf.datadir);
 }