From fca345d6b5bc453d3e0b914a1c7a1865991ea220 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 16:16:40 +0000 Subject: Server::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- *REMOVED* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4843 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/modules.cpp') 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); -- cgit v1.2.3