diff options
author | DNW <dnw.ftw@gmail.com> | 2011-08-29 23:58:32 +0400 |
---|---|---|
committer | DNW <dnw.ftw@gmail.com> | 2011-10-01 20:37:48 +0400 |
commit | a8975fe6bc7cecd2b3e42dd61cb929788e8f006b (patch) | |
tree | 74ea02cb7dd475200f2817b1fce2cdd23ce0444f /src/murmur/Server.h | |
parent | 0e4d963a5a762520945d01a328d17688fb6c2fd8 (diff) |
Add Server::effectivePermissions() to ICE (https://sourceforge.net/tracker/?func=detail&aid=3389065&group_id=147372&atid=768008)
Diffstat (limited to 'src/murmur/Server.h')
-rw-r--r-- | src/murmur/Server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/murmur/Server.h b/src/murmur/Server.h index 8aa9ad058..98c1cab85 100644 --- a/src/murmur/Server.h +++ b/src/murmur/Server.h @@ -220,6 +220,7 @@ class Server : public QThread { bool checkDecrypt(ServerUser *u, const char *encrypted, char *plain, unsigned int cryptlen); bool hasPermission(ServerUser *p, Channel *c, QFlags<ChanACL::Perm> perm); + QFlags<ChanACL::Perm> effectivePermissions(ServerUser *p, Channel *c); void sendClientPermission(ServerUser *u, Channel *c, bool updatelast = false); void flushClientPermissionCache(ServerUser *u, MumbleProto::PermissionQuery &mpqq); void clearACLCache(User *p = NULL); |