Remove ban reasons because they are not a thing in IRC anymore (#2650)

This commit is contained in:
Mm2PL
2021-04-25 13:44:12 +00:00
committed by GitHub
parent 675f99e9cc
commit 08f2773f30
3 changed files with 5 additions and 19 deletions
+1 -8
View File
@@ -148,8 +148,7 @@ MessageBuilder::MessageBuilder(TimeoutMessageTag,
MessageBuilder::MessageBuilder(TimeoutMessageTag, const QString &username,
const QString &durationInSeconds,
const QString &reason, bool multipleTimes,
const QTime &time)
bool multipleTimes, const QTime &time)
: MessageBuilder()
{
QString fullText;
@@ -178,12 +177,6 @@ MessageBuilder::MessageBuilder(TimeoutMessageTag, const QString &username,
text.append("has been permanently banned");
}
if (reason.length() > 0)
{
text.append(": \"");
text.append(parseTagString(reason));
text.append("\"");
}
text.append(".");
if (multipleTimes)