diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/modules.h b/include/modules.h index eced8edb2..f3d7ab18e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -182,18 +182,6 @@ class Version : public classbase Version(int major, int minor, int revision, int build, int flags); }; -/** Holds /ADMIN data - * This class contains the admin details of the local server. It is constructed by class Server, - * and has three read-only values, Name, Email and Nick that contain the specified values for the - * server where the module is running. - */ -class Admin : public classbase -{ - public: - const std::string Name, Email, Nick; - Admin(std::string name, std::string email, std::string nick); -}; - /** The ModuleMessage class is the base class of Request and Event * This class is used to represent a basic data structure which is passed * between modules for safe inter-module communications. @@ -1341,21 +1329,6 @@ class Server : public Extensible */ std::string GetServerName(); - /** Returns the network name, global to all linked servers. - */ - std::string GetNetworkName(); - - /** Returns the server description string of the local server - */ - std::string GetServerDescription(); - - /** Returns the information of the server as returned by the /ADMIN command. - * See the Admin class for further information of the return value. The members - * Admin::Nick, Admin::Email and Admin::Name contain the information for the - * server where the module is loaded. - */ - Admin GetAdmin(); - bool AddMode(ModeHandler* mh, const unsigned char modechar); bool AddModeWatcher(ModeWatcher* mw); |