now loads passwords for irc

This commit is contained in:
fourtf
2019-09-14 18:38:09 +02:00
parent b45a6eea22
commit d33a8b1b3a
11 changed files with 116 additions and 83 deletions
+5
View File
@@ -80,6 +80,11 @@ void IrcServer::onReadConnected(IrcConnection *connection)
std::lock_guard lock(this->channelMutex);
for (auto &&command : this->data_->connectCommands)
{
connection->sendRaw(command + "\r\n");
}
for (auto &&weak : this->channels)
{
if (auto channel = weak.lock())