* Changed module loading path to simply "modules" because after calling
authorArt Cancro <ajc@citadel.org>
Thu, 21 Jan 1999 00:23:27 +0000 (00:23 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 21 Jan 1999 00:23:27 +0000 (00:23 +0000)
          get_config(), the cwd is guaranteed to be the correct BBS directory.

citadel/ChangeLog
citadel/server.h
citadel/sysconfig.h
citadel/sysdep.c

index ac82ed84f359cc5b09e7bf08b098be9654598ef9..c56bd85fae3855c06754508e1c788ed17d508125 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jan 20 19:21:51 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
+       * Added some more code to the unfinished MIME parser
+       * Changed module loading path to simply "modules" because after calling
+         get_config(), the cwd is guaranteed to be the correct BBS directory.
+
 Tue Jan 19 21:28:29 EST 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Fixed a bug in the user editing command (client side)
        * Started a rewrite of the MIME parser
index cf76cb14a587593c9199fa32d9d1776c0afe370b..72fdb8b801827c7aa103443f6e281ebf17eebc8a 100644 (file)
@@ -4,7 +4,7 @@ typedef pthread_t THREAD;
 /* Uncomment this if you want to track memory leaks.
  * (Don't do this unless you're a developer!)
  */
-#define DEBUG_MEMORY_LEAKS
+/* #define DEBUG_MEMORY_LEAKS */
 
 struct ExpressMessage {
        struct ExpressMessage *next;
index 49384e425bb413a7edc2a2e95aa6f23a6eb7094f..ebee9008e26aaab635139f3dbf604491b047af31 100644 (file)
@@ -21,7 +21,7 @@
  * your system, define CHATLOG to the filename to be saved to.  Otherwise,
  * set CHATLOG to "/dev/null".
  */
-#define CHATLOG                "/dev/null"
+#define CHATLOG                "chat.log"
 
 /*
  * SLEEPING refers to the watchdog timer.  If a user sits idle without typing
index d43ffc25d34df6e2d9bcd94eadde47c62d64ab66..0a0b185788d043a5f4c1e23751b9a5e720dc9233 100644 (file)
@@ -706,7 +706,6 @@ int main(int argc, char **argv)
        char tracefile[128];            /* Name of file to log traces to */
        int a, i;                       /* General-purpose variables */
        char convbuf[128];
-       char modpath[128];
         
        /* specify default port name and trace file */
        strcpy(tracefile, "");
@@ -763,8 +762,7 @@ int main(int argc, char **argv)
        get_config();
 
         lprintf(7, "Initializing loadable modules\n");
-        snprintf(modpath, 128, "%s/modules", BBSDIR);
-        DLoader_Init(modpath);
+        DLoader_Init("./modules");
         lprintf(9, "Modules done initializing.\n");
 
        /* Do non system dependent startup functions */