From dafc021be4f3ad34ca37953de6a0109a161dd165 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 15:44:03 +0000 Subject: 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 --- include/channels.h | 6 ++++++ include/message.h | 3 --- include/modules.h | 6 ------ 3 files changed, 6 insertions(+), 9 deletions(-) (limited to 'include') 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(); -- cgit v1.2.3