refactor
This commit is contained in:
+2
-2
@@ -323,7 +323,7 @@ void TTwAPI::banUserTime(const QString &id, int timeMinutes)
|
||||
toLog(2, "TTwAPI::banUserTime", "Не удалось получить botId");
|
||||
return;
|
||||
}
|
||||
|
||||
toLog(2, "TTwAPI::баним", id);
|
||||
QJsonObject innerData;
|
||||
innerData["user_id"] = id;
|
||||
innerData["duration"] = timeMinutes * 60;
|
||||
@@ -503,7 +503,7 @@ void TTwAPI::toLog(int level, const QString &method, const QString &message)
|
||||
Q_UNUSED(level);
|
||||
Q_UNUSED(method);
|
||||
Q_UNUSED(message);
|
||||
|
||||
qDebug() << message;
|
||||
// uGeneral.toLog("ttw_api", method, message, level);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user