summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 20:00:20 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 20:00:20 +0000
commit432b306797b5a5a345affa3933a453efef0dac1c (patch)
treef1c9113ba9faddff07a8f50d658f917d51fa9e70
parent16d94ef4c69af91f99bc6457484c74d72e5de895 (diff)
Remove some stuff deprecated since 1.0
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6985 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/inspircd.h15
-rw-r--r--src/modules.cpp12
2 files changed, 0 insertions, 27 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 71a36f9b5..d81116a1d 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -671,21 +671,6 @@ class InspIRCd : public classbase
void CloseLog();
- /** Convert a user to a pseudoclient, disconnecting the real user
- * @param user The user to convert
- * @param message The quit message to display when exiting the user
- * @return True if the operation succeeded
- */
- bool UserToPseudo(userrec* user, const std::string &message);
-
- /** Convert a pseudoclient to a real user, discarding the pseudoclient
- * @param alive A live client
- * @param zombie A pseudoclient
- * @param message The message to display when quitting the pseudoclient
- * @return True if the operation succeeded
- */
- bool PseudoToUser(userrec* alive, userrec* zombie, const std::string &message);
-
/** Send a server notice to all local users
* @param text The text format string to send
* @param ... The format arguments
diff --git a/src/modules.cpp b/src/modules.cpp
index 0acc3683c..c2adb1575 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -448,18 +448,6 @@ bool InspIRCd::AddResolver(Resolver* r, bool cached)
}
}
-bool InspIRCd::UserToPseudo(userrec* user, const std::string &message)
-{
- throw CoreException("The InspIRCd::UsertoPseudo function should not be used in InspIRCd later than 1.0.x");
- return false;
-}
-
-bool InspIRCd::PseudoToUser(userrec* alive, userrec* zombie, const std::string &message)
-{
- throw CoreException("The InspIRCd::PseudotoUser function should not be used in InspIRCd later than 1.0.x");
- return false;
-}
-
void InspIRCd::AddGLine(long duration, const std::string &source, const std::string &reason, const std::string &hostmask)
{
XLines->add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());