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/chatclient.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/chatclient.hpp')
-rw-r--r-- | src/chat-server/chatclient.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/chat-server/chatclient.hpp b/src/chat-server/chatclient.hpp index 59950577..162e88d1 100644 --- a/src/chat-server/chatclient.hpp +++ b/src/chat-server/chatclient.hpp @@ -24,6 +24,7 @@ #ifndef _TMWSERV_CHATCLIENT_H_ #define _TMWSERV_CHATCLIENT_H_ +#include <map> #include <string> #include <vector> @@ -45,7 +46,8 @@ class ChatClient : public NetComputer */ ChatClient(ENetPeer *peer): NetComputer(peer), - party(0) + party(0), + accountLevel(0) { } @@ -53,6 +55,7 @@ class ChatClient : public NetComputer std::vector< ChatChannel * > channels; Party* party; unsigned char accountLevel; + std::map<ChatChannel*, std::string> userModes; }; #endif |