diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2015-11-22 18:54:10 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2015-11-22 19:31:21 +0300 |
commit | c0879e57bf9baefedede3e548e7b85cca69c9839 (patch) | |
tree | 36c2162990f695e66b868a3a5bad6682b544f694 /src/murmur/Server.h | |
parent | b0c9521e4b5f743325380a67e6c68aa057cd635a (diff) |
Allow creating channel with a set maximum number of users
Fixes mumble-voip/mumble#1913
Diffstat (limited to 'src/murmur/Server.h')
-rw-r--r-- | src/murmur/Server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Server.h b/src/murmur/Server.h index d437d68e1..693faf220 100644 --- a/src/murmur/Server.h +++ b/src/murmur/Server.h @@ -336,7 +336,7 @@ class Server : public QThread { // Database / DBus functions. Implementation in ServerDB.cpp void initialize(); int authenticate(QString &name, const QString &pw, int sessionId = 0, const QStringList &emails = QStringList(), const QString &certhash = QString(), bool bStrongCert = false, const QList<QSslCertificate> & = QList<QSslCertificate>()); - Channel *addChannel(Channel *c, const QString &name, bool temporary = false, int position = 0); + Channel *addChannel(Channel *c, const QString &name, bool temporary = false, int position = 0, unsigned int maxUsers = 0); void removeChannelDB(const Channel *c); void readChannels(Channel *p = NULL); void readLinks(); |