[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sun Dec 2 08:27:02 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-02 14:26:23 UTC
Commited by: Federico Mennite <ite at techmonkeys.org>

Modified files:
     modules/filesys/files.c modules/filesys/help/filesys.help

Log message:

Renamed .optimise to .optimize. Patch by Wcc <will at centerofnowhere.com>

---------------------- diff included ----------------------
Index: eggdrop1.7/modules/filesys/files.c
diff -u eggdrop1.7/modules/filesys/files.c:1.1 eggdrop1.7/modules/filesys/files.c:1.2
--- eggdrop1.7/modules/filesys/files.c:1.1	Sat Oct 27 11:34:50 2001
+++ eggdrop1.7/modules/filesys/files.c	Sun Dec  2 08:26:13 2001
@@ -2,7 +2,7 @@
  * files.c - part of filesys.mod
  *   handles all file system commands
  *
- * $Id: files.c,v 1.1 2001/10/27 16:34:50 ite Exp $
+ * $Id: files.c,v 1.2 2001/12/02 14:26:13 ite Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -116,13 +116,13 @@
   return 1;
 }
 
-static void cmd_optimise(int idx, char *par)
+static void cmd_optimize(int idx, char *par)
 {
   struct userrec *u = get_user_by_handle(userlist, dcc[idx].nick);
   FILE *fdb = NULL;
   char *p   = NULL;
 
-  putlog(LOG_FILES, "*", "files: #%s# optimise", dcc[idx].nick);
+  putlog(LOG_FILES, "*", "files: #%s# optimize", dcc[idx].nick);
   p = get_user(&USERENTRY_DCCDIR, u);
   /* Does this dir even exist any more? */
   if (p) {
@@ -139,11 +139,11 @@
     return;
   }
   filedb_close(fdb);
-  dprintf(idx, "Current directory is now optimised.\n");
+  dprintf(idx, "Current directory is now optimized.\n");
 }
 
 /* Given current directory, and the desired changes, fill 'real' with
- * the new current directory.  check directory parmissions along the
+ * the new current directory.  check directory permissions along the
  * way.  return 1 if the change can happen, 0 if not. 'real' will be
  * assigned newly allocated memory, so don't forget to free it...
  */
@@ -970,7 +970,7 @@
 	/* Flags is a channel. */
 	chan = flags;
 	flags = par;
-      }	/* (else) Couldnt find the channel and flags[0] is a '+', these
+      }	/* (else) Couldn't find the channel and flags[0] is a '+', these
 	 * are flags. */
     }
     if (chan[0] && !findchan(chan)) {
@@ -1350,7 +1350,7 @@
   {"rm",	"j",	(Function) cmd_rm,		NULL},
   {"rmdir",	"j",	(Function) cmd_rmdir,		NULL},
   {"share",	"j",	(Function) cmd_share,		NULL},
-  {"optimise",	"j",	(Function) cmd_optimise,	NULL},
+  {"optimize",	"j",	(Function) cmd_optimize,	NULL},
   {"stats",	"",	(Function) cmd_stats,		NULL},
   {"unhide",	"j",	(Function) cmd_unhide,		NULL},
   {"unshare",	"j",	(Function) cmd_unshare,		NULL},
Index: eggdrop1.7/modules/filesys/help/filesys.help
diff -u eggdrop1.7/modules/filesys/help/filesys.help:1.1 eggdrop1.7/modules/filesys/help/filesys.help:1.2
--- eggdrop1.7/modules/filesys/help/filesys.help:1.1	Sat Oct 27 11:34:50 2001
+++ eggdrop1.7/modules/filesys/help/filesys.help	Sun Dec  2 08:26:13 2001
@@ -48,7 +48,7 @@
    to send files to other people.  if a file you want is actually
    on another bot, it may take a little bit longer so be patient.
    if that bot isn't on the botnet right now, it will say the file
-   isn't availble.
+   isn't available.
 
    there is a limit to the number of transfers you can have going
    simultaneously, so if you go over this limit, the remainder of
@@ -70,7 +70,7 @@
 %{+j}
 Janitor only:
   %bhide      share     mkdir     cp        rm        lsa%b
-  %bunhide    unshare   rmdir     mv        ln        optimise%b
+  %bunhide    unshare   rmdir     mv        ln        optimize%b
   %bfilestats%b
 %{+x}
 You can get help on any command via:  %bhelp <command>%b
@@ -103,10 +103,9 @@
    displays the files in the current directory.  subdirectories
    are shown with "<DIR>" next to them, and other files will display
    their size (typically in kilobytes), who uploaded them (and when),
-   and how many times each file has been downloaded.  if a descrip-
-   tion of the file exists, it is displayed below the filename.  you
-   can restrict the file listing by specifying a mask, just like in
-   unix.
+   and how many times each file has been downloaded.  if a description
+   of the file exists, it is displayed below the filename.  you can
+   restrict the file listing by specifying a mask, just like in unix.
 
 see also: cd, pwd, get
 %{help=filesys/lsa}%{+j}
@@ -163,8 +162,8 @@
    files are marked as unshared.
 
 see also: unshare, lsa, ln
-%{help=filesys/optimise}%{+j}
-###  %boptimise%b
+%{help=filesys/optimize}%{+j}
+###  %boptimize%b
    cleans up the current directory's database.  if you have a large
    directory with many files you may want to use this command if
    you experience slow-downs/delays over time.  normally, the db
----------------------- End of diff -----------------------



More information about the Changes mailing list