diff options
author | David Athay <ko2fan@gmail.com> | 2008-08-13 15:31:48 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-08-13 15:31:48 +0000 |
commit | 67cb713c0fcd65f9f842c589c7e1c08f9af597f0 (patch) | |
tree | 408d79af670e143211deb311dc6aa291fbda9034 /src/chat-server/chatchannel.hpp | |
parent | 4e800b21494755958b0e30bba9045cee204b1a76 (diff) | |
download | manaserv-67cb713c0fcd65f9f842c589c7e1c08f9af597f0.tar.gz manaserv-67cb713c0fcd65f9f842c589c7e1c08f9af597f0.tar.bz2 manaserv-67cb713c0fcd65f9f842c589c7e1c08f9af597f0.tar.xz manaserv-67cb713c0fcd65f9f842c589c7e1c08f9af597f0.zip |
Added permission levels to guilds, and operator permissions to channels.
Diffstat (limited to 'src/chat-server/chatchannel.hpp')
-rw-r--r-- | src/chat-server/chatchannel.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/chat-server/chatchannel.hpp b/src/chat-server/chatchannel.hpp index 5fce1abb..c0f2ae23 100644 --- a/src/chat-server/chatchannel.hpp +++ b/src/chat-server/chatchannel.hpp @@ -131,6 +131,16 @@ class ChatChannel */ bool canJoin() const; + /** + * Set user mode + */ + void setUserMode(ChatClient *, unsigned char mode); + + /** + * Get user mode + */ + std::string getUserMode(ChatClient *); + private: unsigned short mId; /**< The ID of the channel. */ std::string mName; /**< The name of the channel. */ @@ -138,6 +148,7 @@ class ChatChannel std::string mPassword; /**< The channel password. */ bool mJoinable; /**< Whether anyone can join. */ ChannelUsers mRegisteredUsers; /**< Users in this channel. */ + std::string mOwner; /**< Channel owner character name */ }; #endif |