diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 14:43:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 14:43:29 +0000 |
commit | 396c9ef9f7a96934d3227bb7d1d091315e3d4fa8 (patch) | |
tree | b775fca47b8536d7e3c5df17480dbf4cca9f6ded /include/inspircd.h | |
parent | e80c54a965b1e11cc9da573a3e352a243e0ec9f8 (diff) |
FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, GetClass, WriteOpers, GetServerDescription -> into classes
ServerConfig takes InspIRCd pointer in its constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 7cd1d973d..94bba27f6 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -122,6 +122,17 @@ class InspIRCd : public classbase const char* FindServerNamePtr(const std::string &servername); bool FindServerName(const std::string &servername); + std::string GetServerDescription(const char* servername); + + void WriteOpers(const char* text, ...); + void WriteOpers(const std::string &text); + + userrec* FindNick(const std::string &nick); + userrec* FindNick(const char* nick); + + chanrec* FindChan(const std::string &chan); + chanrec* FindChan(const char* chan); + bool UserToPseudo(userrec* user, const std::string &message); bool PseudoToUser(userrec* alive, userrec* zombie, const std::string &message); |