diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 01:00:16 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 01:00:16 +0000 |
| commit | d5162d6e45aa484b918f4e2f97f5fcfb49b537e0 (patch) | |
| tree | 6707b1f62d38a2e1912d024c8bdec66f65463329 /include | |
| parent | 7ac7c564f5115af12f771db5b510b757b1dcc322 (diff) | |
Fix various scary stuff to do with API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1584 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/config.h | 4 | ||||
| -rw-r--r-- | include/modules.h | 3 | ||||
| -rw-r--r-- | include/timeout.h | 5 | ||||
| -rw-r--r-- | include/version.sh | 6 |
4 files changed, 0 insertions, 18 deletions
diff --git a/include/config.h b/include/config.h index 648205e7c..dd591ceb6 100644 --- a/include/config.h +++ b/include/config.h @@ -36,10 +36,6 @@ /* Define this to enable OperServ's svs commands (superadmin only). */ #define USE_OSSVS -/* Define this to enable OperServ's debugging commands (Services root - * only). These commands are undocumented; "use the source, Luke!" */ -/* #define DEBUG_COMMANDS */ - /******************* END OF USER-CONFIGURABLE SECTION ********************/ /* Size of input buffer (note: this is different from BUFSIZ) diff --git a/include/modules.h b/include/modules.h index 73bff568e..7926af593 100644 --- a/include/modules.h +++ b/include/modules.h @@ -319,10 +319,7 @@ MDE int moduleGetConfigDirective(Directive *h); /* Command Managment Functions */ MDE Command *createCommand(const char *name,int (*func)(User *u),int (*has_priv)(User *u),int help_all, int help_reg, int help_oper, int help_admin,int help_root); MDE int destroyCommand(Command *c); /* destroy a command */ -MDE int addCoreCommand(CommandHash *cmdTable[], Command *c); /* Add a command to a command table */ MDE int moduleAddCommand(CommandHash *cmdTable[], Command *c, int pos); -MDE int addCommand(CommandHash *cmdTable[], Command *c,int pos); -MDE int delCommand(CommandHash *cmdTable[], Command *c, const char *mod_name); /* Del a command from a cmd table */ MDE int moduleDelCommand(CommandHash *cmdTable[], const char *name); /* Del a command from a cmd table */ Command *findCommand(CommandHash *cmdTable[], const char *name); /* Find a command */ diff --git a/include/timeout.h b/include/timeout.h index ac2f3deda..a6ac20ba5 100644 --- a/include/timeout.h +++ b/include/timeout.h @@ -41,10 +41,5 @@ extern Timeout *add_timeout(int delay, void (*code)(Timeout *), int repeat); /* Remove a timeout from the list (if it's there). */ extern void del_timeout(Timeout *t); -#ifdef DEBUG_COMMANDS -/* Send the list of timeouts to the given user. */ -extern int send_timeout_list(User *u); -#endif - #endif /* TIMEOUT_H */ diff --git a/include/version.sh b/include/version.sh index 1ee2d756c..fe978fab7 100644 --- a/include/version.sh +++ b/include/version.sh @@ -52,12 +52,6 @@ cat >version.h <<EOF #define VERSION_STRING "$VERSION" #define VERSION_STRING_DOTTED "$VERSIONDOTTED" -#ifdef DEBUG_COMMANDS -# define VER_DEBUG "D" -#else -# define VER_DEBUG -#endif - #if defined(_WIN32) # if _MSC_VER >= 1400 # define VER_OS "W" |
