diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-04-01 06:53:24 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-04-01 06:53:24 -0700 |
commit | df2cbbe6e7f63a36e4f71b353769e5568eaa9e73 (patch) | |
tree | 59845c8c8f859b721fdc9584a2d4ab9904e2e7ae /include | |
parent | ba49d8eeabca0358314f36397abd56d8340f3753 (diff) | |
parent | f00ffba521c16d0f5419f60c0b4d362b362b76e6 (diff) |
Merge pull request #454 from SaberUK/master+misc-improvements
Purge dead code and deprecated types.
Diffstat (limited to 'include')
-rw-r--r-- | include/hashcomp.h | 10 | ||||
-rw-r--r-- | include/inspircd.h | 5 | ||||
-rw-r--r-- | include/modules.h | 5 |
3 files changed, 1 insertions, 19 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 78d7ee878..b75214181 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -280,15 +280,7 @@ namespace irc * mode changes to be obtained. */ int GetStackedLine(std::vector<std::string> &result, int max_line_size = 360); - - /** deprecated compatability interface - TODO remove */ - int GetStackedLine(std::deque<std::string> &result, int max_line_size = 360) { - std::vector<std::string> r; - int n = GetStackedLine(r, max_line_size); - result.clear(); - result.insert(result.end(), r.begin(), r.end()); - return n; - } + }; /** irc::tokenstream reads a string formatted as per RFC1459 and RFC2812. diff --git a/include/inspircd.h b/include/inspircd.h index 054b7c148..8c31b1960 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -121,11 +121,6 @@ CoreExport extern InspIRCd* ServerInstance; */ #define ERROR -1 -/** Support for librodent - - * see http://www.chatspike.net/index.php?z=64 - */ -#define ETIREDHAMSTERS EAGAIN - /** Template function to convert any input type to std::string */ template<typename T> inline std::string ConvNumeric(const T &in) diff --git a/include/modules.h b/include/modules.h index 626f6e9b8..088f76fd1 100644 --- a/include/modules.h +++ b/include/modules.h @@ -736,8 +736,6 @@ class CoreExport Module : public classbase, public usecountbase * (see below). This function will be called for every user visible on your side * of the burst, allowing you to for example set modes, etc. * - * For a good example of how to use this function, please see src/modules/m_chanprotect.cpp - * * @param chan The channel being syncronized * @param proto A pointer to the module handling network protocol * @param opaque An opaque pointer set by the protocol module, should not be modified! @@ -770,9 +768,6 @@ class CoreExport Module : public classbase, public usecountbase * down the network link as a broadcast, without a module calling it having to know the format * of the MODE command before the actual mode string. * - * More documentation to follow soon. Please see src/modules/m_chanprotect.cpp for examples - * of how to use this function. - * * @param opaque An opaque pointer set by the protocol module, should not be modified! * @param target_type The type of item to decode data for, TYPE_USER or TYPE_CHANNEL * @param target The Channel* or User* that modes should be sent for |