mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fix notices about "short channel name" channels being sent to all channels
Fixes #770
This commit is contained in:
parent
ced5508286
commit
7e073f43b6
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ namespace chatterino {
|
||||||
|
|
||||||
bool trimChannelName(const QString &channelName, QString &outChannelName)
|
bool trimChannelName(const QString &channelName, QString &outChannelName)
|
||||||
{
|
{
|
||||||
if (channelName.length() < 3) {
|
if (channelName.length() < 2) {
|
||||||
log("channel name length below 3");
|
log("channel name length below 2");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue