summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-18 21:25:43 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-18 21:25:43 +0200
commit50ecf259b61eb389559dc24a7c4af718c225ec8d (patch)
treeb0475a42827973ff338e5a1d6b1b56c81dcaac89 /include/inspircd.h
parente0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f (diff)
Remove dead code from the InspIRCd and CommandParser classes and typedefs.h
Removed functions: InspIRCd: - Restart() - unused - DoSocketTimeouts() - no implementation exists - AddCommand() - useless wrapper around ModuleManager::AddService() CommandParser: - IsValidCommand() - unused - ProcessParameters() - no implementation exists
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 4845a777e..a25466647 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -265,11 +265,6 @@ class CoreExport InspIRCd
*/
bool DaemonSeed();
- /** Iterate the list of BufferedSocket objects, removing ones which have timed out
- * @param TIME the current time
- */
- void DoSocketTimeouts(time_t TIME);
-
/** The current time, updated in the mainloop
*/
struct timespec TIME;
@@ -544,15 +539,6 @@ class CoreExport InspIRCd
*/
caller1<bool, const std::string&> IsIdent;
- /** Add a command to this server's command parser
- * @param f A Command command handler object to add
- * @throw ModuleException Will throw ModuleExcption if the command already exists
- */
- inline void AddCommand(Command *f)
- {
- Modules->AddService(*f);
- }
-
/** Match two strings using pattern matching, optionally, with a map
* to check case against (may be NULL). If map is null, match will be case insensitive.
* @param str The literal string to match against
@@ -694,14 +680,6 @@ class CoreExport InspIRCd
*/
caller3<ModResult, User*, Channel*, const std::string&> OnCheckExemption;
- /** Restart the server.
- * This function will not return. If an error occurs,
- * it will throw an instance of CoreException.
- * @param reason The restart reason to show to all clients
- * @throw CoreException An instance of CoreException indicating the error from execv().
- */
- void Restart(const std::string &reason);
-
/** Prepare the ircd for restart or shutdown.
* This function unloads all modules which can be unloaded,
* closes all open sockets, and closes the logfile.