void CoreUserInputHandler::handleVoice(const BufferInfo &bufferInfo, const QString &msg)
{
    QStringList nicks = msg.split(' ', QString::SkipEmptyParts);
    QString m = "+"; for (int i = 0; i < nicks.count(); i++) m += 'v';
    QStringList params;
    params << bufferInfo.bufferName() << m << nicks;
    emit putCmd("MODE", serverEncode(params));
}
void CoreUserInputHandler::handleVoice(const BufferInfo &bufferInfo, const QString &msg)
{
    QStringList nicks = msg.split(' ', QString::SkipEmptyParts);
    QString m = "+"; for (int i = 0; i < nicks.count(); i++) m += 'v';
    QStringList params;
    params << bufferInfo.bufferName() << m << nicks;
    emit putCmd("MODE", serverEncode(params));
}