diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 16:48:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 16:48:12 +0000 |
commit | 945466193b36e4e46ea005db299c64151ed957f0 (patch) | |
tree | c664a97b881a65a441bced308e751f8a9f6bc7a9 /src/inspircd.cpp | |
parent | 48e477893fdc3cd87b46e445b1e3e2d1395c4b94 (diff) |
Tidied up inspircd.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2421 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 44 |
1 files changed, 1 insertions, 43 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 15915607d..d3b1e4f09 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -97,25 +97,13 @@ chan_hash chanlist; whowas_hash whowas; command_table cmdlist; address_cache IP; - servernamelist servernames; - int boundPortCount = 0; int portCount = 0, ports[MAXSOCKS]; - -/* prototypes */ - -/*int has_channel(userrec *u, chanrec *c); -int usercount(chanrec *c); -int usercount_i(chanrec *c); -char* Passwd(userrec *user); -bool IsDenied(userrec *user); -void AddWhoWas(userrec* u);*/ - std::vector<userrec*> all_opers; - char lowermap[255]; + void AddOper(userrec* user) { log(DEBUG,"Oper added to optimization list"); @@ -175,36 +163,6 @@ std::string GetRevision() } -std::string getservername() -{ - return Config->ServerName; -} - -std::string getserverdesc() -{ - return Config->ServerDesc; -} - -std::string getnetworkname() -{ - return Config->Network; -} - -std::string getadminname() -{ - return Config->AdminName; -} - -std::string getadminemail() -{ - return Config->AdminEmail; -} - -std::string getadminnick() -{ - return Config->AdminNick; -} - /* add a channel to a user, creating the record for it if needed and linking * it to the user record */ |