fix: truncate outgoing IRC messages to ensure we don't send more than 512 bytes (#5246)
This commit is contained in:
@@ -371,6 +371,11 @@ void IrcServer::sendWhisper(const QString &target, const QString &message)
|
||||
}
|
||||
}
|
||||
|
||||
void IrcServer::sendRawMessage(const QString &rawMessage)
|
||||
{
|
||||
AbstractIrcServer::sendRawMessage(rawMessage.left(510));
|
||||
}
|
||||
|
||||
bool IrcServer::hasEcho() const
|
||||
{
|
||||
return this->hasEcho_;
|
||||
|
||||
Reference in New Issue
Block a user