diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 23 |
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); |