fix notices about "short channel name" channels being sent to all channels

Fixes #770
This commit is contained in:
Rasmus Karlsson 2018-10-07 12:17:11 +00:00
parent ced5508286
commit 7e073f43b6

View file

@ -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;
} }