diff options
-rw-r--r-- | include/inspircd.h | 15 | ||||
-rw-r--r-- | src/modules.cpp | 12 |
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()); |