Added automatic streamer mode detection to Linux (#2316)
This commit is contained in:
@@ -137,7 +137,7 @@ void AbstractIrcServer::open(ConnectionType type)
|
||||
}
|
||||
}
|
||||
|
||||
void AbstractIrcServer::addGlobalSystemMessage(QString messageText)
|
||||
void AbstractIrcServer::addGlobalSystemMessage(const QString &messageText)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(this->channelMutex);
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ public:
|
||||
|
||||
void addFakeMessage(const QString &data);
|
||||
|
||||
void addGlobalSystemMessage(const QString &messageText);
|
||||
|
||||
// iteration
|
||||
void forEachChannel(std::function<void(ChannelPtr)> func);
|
||||
|
||||
@@ -78,8 +80,6 @@ protected:
|
||||
|
||||
void open(ConnectionType type);
|
||||
|
||||
void addGlobalSystemMessage(QString messageText);
|
||||
|
||||
QMap<QString, std::weak_ptr<Channel>> channels;
|
||||
std::mutex channelMutex;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user