summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 16:16:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 16:16:40 +0000
commitfca345d6b5bc453d3e0b914a1c7a1865991ea220 (patch)
tree50ed58be1519b581951515093e4e9976b905795e /src/modules.cpp
parent46159caeed2d2636a7de8da38fe76165d4776fba (diff)
Server::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- *REMOVED*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4843 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 824da10f3..a367f7b8d 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -64,13 +64,6 @@ Version::Version(int major, int minor, int revision, int build, int flags)
{
}
-// admin is a simple class for holding a server's administrative info
-
-Admin::Admin(std::string name, std::string email, std::string nick)
-: Name(name), Email(email), Nick(nick)
-{
-}
-
Request::Request(char* anydata, Module* src, Module* dst)
: data(anydata), source(src), dest(dst)
{
@@ -427,22 +420,6 @@ std::string Server::GetServerName()
return ServerInstance->Config->ServerName;
}
-std::string Server::GetNetworkName()
-{
- return ServerInstance->Config->Network;
-}
-
-std::string Server::GetServerDescription()
-{
- return ServerInstance->Config->ServerDesc;
-}
-
-Admin Server::GetAdmin()
-{
- return Admin(ServerInstance->Config->AdminName,ServerInstance->Config->AdminEmail,ServerInstance->Config->AdminNick);
-}
-
-
bool Server::AddMode(ModeHandler* mh, const unsigned char mode)
{
return ServerInstance->ModeGrok->AddMode(mh,mode);