]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Change path for chandump.
authorChris Porter <redacted>
Mon, 15 May 2006 11:16:00 +0000 (12:16 +0100)
committerChris Porter <redacted>
Mon, 15 May 2006 11:16:00 +0000 (12:16 +0100)
chandump/chandump.c

index 47e1b060fe3a06deea0d4fa91c88526ba45d35d5..1a4a3228f8e840b5052ecfbf5cc82807b74d5366 100644 (file)
@@ -9,7 +9,7 @@ void dodump(void *arg) {
   chanindex *c;
   int i;
 
-  FILE *fp = fopen("chandump.txt.1", "w");
+  FILE *fp = fopen("chandump/chandump.txt.1", "w");
   if(!fp)
     return;
 
@@ -20,7 +20,7 @@ void dodump(void *arg) {
 
   fclose(fp);
 
-  rename("chandump.txt.1", "chandump.txt");
+  rename("chandump/chandump.txt.1", "chandump/chandump.txt");
 } 
 
 void _init() {