Skip to content

Commit

Permalink
Update /$ and /_ to work on irc too
Browse files Browse the repository at this point in the history
  • Loading branch information
Mm2PL committed Aug 10, 2023
1 parent a79a0a0 commit 4e48069
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/widgets/splits/SplitInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -923,14 +923,12 @@ void SplitInput::editTextChanged()
this->ui_.textEdit->moveCursor(QTextCursor::EndOfBlock);
}
}
else if (text.startsWith("/$", Qt::CaseInsensitive) &&
this->split_->getChannel()->isTwitchChannel()) //
else if (text.startsWith("/$", Qt::CaseInsensitive))
{
this->ui_.textEdit->setPlainText("/w supibot " + text.mid(1));
this->ui_.textEdit->moveCursor(QTextCursor::EndOfBlock);
}
else if (text.startsWith("/_", Qt::CaseInsensitive) &&
this->split_->getChannel()->isTwitchChannel()) //
else if (text.startsWith("/_", Qt::CaseInsensitive))
{
this->ui_.textEdit->setPlainText("/w mm_sutilitybot " + text.mid(1));
this->ui_.textEdit->moveCursor(QTextCursor::EndOfBlock);
Expand Down

0 comments on commit 4e48069

Please sign in to comment.