Run clang-format-all.sh

This commit is contained in:
Rasmus Karlsson
2018-07-03 15:19:49 +00:00
parent b73f65fa20
commit e757a6504b
12 changed files with 55 additions and 52 deletions
+2 -4
View File
@@ -194,8 +194,7 @@ void TwitchServer::onMessageSendRequested(TwitchChannel *channel, const QString
// check if you are sending messages too fast
if (!lastMessage.empty() && lastMessage.back() + minMessageOffset > now) {
if (this->lastErrorTimeSpeed_ + 30s < now) {
auto errorMessage =
Message::createSystemMessage("sending messages too fast");
auto errorMessage = Message::createSystemMessage("sending messages too fast");
channel->addMessage(errorMessage);
@@ -212,8 +211,7 @@ void TwitchServer::onMessageSendRequested(TwitchChannel *channel, const QString
// check if you are sending too many messages
if (lastMessage.size() >= maxMessageCount) {
if (this->lastErrorTimeAmount_ + 30s < now) {
auto errorMessage =
Message::createSystemMessage("sending too many messages");
auto errorMessage = Message::createSystemMessage("sending too many messages");
channel->addMessage(errorMessage);