Changeset 804 for trunk/ithildin/modules/ircd/commands/module.c
- Timestamp:
- 06/01/07 04:10:37 (5 years ago)
- File:
-
- 1 edited
-
trunk/ithildin/modules/ircd/commands/module.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ithildin/modules/ircd/commands/module.c
r579 r804 6 6 */ 7 7 8 #include <ithildin/ stand.h>8 #include <ithildin/ithildin.h> 9 9 10 10 #include "ircd.h" … … 14 14 15 15 MODULE_REGISTER("$Rev$"); 16 /* 17 @DEPENDENCIES@: ircd 18 @DEPENDENCIES@: ircd/addons/core 19 */ 16 const char *mdepends[] = MDEPENDS; 20 17 21 18 /* this command may be used by operators to load, unload, or reload modules … … 50 47 while (*s != '\0') { 51 48 if (*s == '-') 52 *s = ' /';49 *s = '.'; 53 50 s++; 54 51 } … … 65 62 sprintf(mname, "%s", argc > 3 ? argv[3] : "*"); 66 63 else 67 sprintf(mname, "%s /%s", type, (argc > 3 ? argv[3] : "*"));64 sprintf(mname, "%s.%s", type, (argc > 3 ? argv[3] : "*")); 68 65 69 66 /* depending on what they asked for, we do different things. the one … … 92 89 !strcasecmp(mp->name, "ident") || 93 90 !strcasecmp(mp->name, "ircd") || 94 !strcasecmp(mp->name, "ircd /commands/module"))) {91 !strcasecmp(mp->name, "ircd.commands.module"))) { 95 92 sendto_one(cli, "NOTICE", ":You cannot unload the %s module", 96 93 mp->name);
Note: See TracChangeset
for help on using the changeset viewer.
