summaryrefslogtreecommitdiff
path: root/src/account-server/dalstorage.hpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-28 20:14:23 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-28 20:14:23 +0000
commite166458f5425316f4f48aadd7007917ab876be17 (patch)
tree7ccc27db50bb6600cc4fee074485e3b886e58049 /src/account-server/dalstorage.hpp
parent32337eb103384ed8bdb7a43ee54ab550680db62b (diff)
downloadmanaserv-e166458f5425316f4f48aadd7007917ab876be17.tar.gz
manaserv-e166458f5425316f4f48aadd7007917ab876be17.tar.bz2
manaserv-e166458f5425316f4f48aadd7007917ab876be17.tar.xz
manaserv-e166458f5425316f4f48aadd7007917ab876be17.zip
Replaced user names by client pointers when handling channels, in order to reduce lookups in ChatHandler::sendInChannel.
Diffstat (limited to 'src/account-server/dalstorage.hpp')
-rw-r--r--src/account-server/dalstorage.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp
index b84b1aa7..00a5b69b 100644
--- a/src/account-server/dalstorage.hpp
+++ b/src/account-server/dalstorage.hpp
@@ -150,7 +150,7 @@ class DALStorage: public Storage
* Gives the list of opened public channels registered in database
* @return a map of the public channels
*/
- std::map<short, ChatChannel>
+ std::map<unsigned short, ChatChannel>
getChannelList();
/**
@@ -158,7 +158,7 @@ class DALStorage: public Storage
* to the one in db.
*/
void
- updateChannels(std::map<short, ChatChannel>& channelList);
+ updateChannels(std::map<unsigned short, ChatChannel>& channelList);
/**
* Add a new guild