Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2015-11-22 18:54:10 +0300
committerMikkel Krautz <mikkel@krautz.dk>2015-11-22 19:31:21 +0300
commitc0879e57bf9baefedede3e548e7b85cca69c9839 (patch)
tree36c2162990f695e66b868a3a5bad6682b544f694 /src/murmur/Server.h
parentb0c9521e4b5f743325380a67e6c68aa057cd635a (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.h2
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();