summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h4
-rw-r--r--include/modules.h3
-rw-r--r--include/timeout.h5
-rw-r--r--include/version.sh6
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"