fix rateLimitTimespan issue #665
This commit is contained in:
parent
953a537cb8
commit
663bb97fff
@ -166,7 +166,8 @@ bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
|
||||
tokens.push(token); // popped one too many
|
||||
break;
|
||||
}
|
||||
tokens.push(current);
|
||||
if (tokens.size() < tokenCount) tokens.push(current);
|
||||
else return false;
|
||||
return tokens.size() <= tokenCount;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user