diff options
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 |