summaryrefslogtreecommitdiff
path: root/src/chat-server/chatclient.hpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-08-13 15:31:48 +0000
committerDavid Athay <ko2fan@gmail.com>2008-08-13 15:31:48 +0000
commit67cb713c0fcd65f9f842c589c7e1c08f9af597f0 (patch)
tree408d79af670e143211deb311dc6aa291fbda9034 /src/chat-server/chatclient.hpp
parent4e800b21494755958b0e30bba9045cee204b1a76 (diff)
downloadmanaserv-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.hpp5
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