diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 15:44:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 15:44:03 +0000 |
commit | dafc021be4f3ad34ca37953de6a0109a161dd165 (patch) | |
tree | f6263063894fa0a923656d64d0e3e1351e0e205f /include | |
parent | 667bf736370b1d632f6ff99ce32bdcd7f0de9b3f (diff) |
cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusFlags(), chanrec::GetStatus()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 6 | ||||
-rw-r--r-- | include/message.h | 3 | ||||
-rw-r--r-- | include/modules.h | 6 |
3 files changed, 6 insertions, 9 deletions
diff --git a/include/channels.h b/include/channels.h index e9dcfb133..cbc4a423f 100644 --- a/include/channels.h +++ b/include/channels.h @@ -436,6 +436,12 @@ class chanrec : public Extensible int CountInvisible(); + int GetStatus(userrec *user); + + int GetStatusFlags(userrec *user); + + const char* GetStatusChar(userrec *user); + /** Destructor for chanrec */ virtual ~chanrec() { /* stub */ } diff --git a/include/message.h b/include/message.h index b1af53bbc..f68eb8f6f 100644 --- a/include/message.h +++ b/include/message.h @@ -30,8 +30,5 @@ int isident(const char* n); int isnick(const char* n); -const char* cmode(userrec *user, chanrec *chan); -int cstatus(userrec *user, chanrec *chan); -int cflags(userrec *user, chanrec *chan); #endif diff --git a/include/modules.h b/include/modules.h index 49695b63c..0fdde6016 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1347,12 +1347,6 @@ class Server : public Extensible */ virtual userrec* FindDescriptor(int socket); - /** Attempts to look up a user's privilages on a channel. - * This function will return a string containing either @, %, +, or an empty string, - * representing the user's privilages upon the channel you specify. - */ - virtual std::string ChanMode(userrec* User, chanrec* Chan); - /** Returns the server name of the server where the module is loaded. */ virtual std::string GetServerName(); |