reconnect for irc + show errors + nickRequired

This commit is contained in:
fourtf
2019-09-18 08:05:51 +02:00
parent 96dac0fd3d
commit 27d6cf2bfd
8 changed files with 130 additions and 3 deletions
+11
View File
@@ -42,4 +42,15 @@ void IrcChannel::setServer(IrcServer *server)
this->server_ = server;
}
bool IrcChannel::canReconnect() const
{
return true;
}
void IrcChannel::reconnect()
{
if (this->server())
this->server()->connect();
}
} // namespace chatterino