mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +00:00
fixed
This commit is contained in:
parent
d2fe15679c
commit
bcb0454916
@ -113,7 +113,6 @@ bool dChatFilter::IsSentenceOkay(const std::string& message, int gmLevel) {
|
|||||||
line.erase(std::remove(line.begin(), line.end(), '\r'), line.end()); //Remove nix line-endings
|
line.erase(std::remove(line.begin(), line.end(), '\r'), line.end()); //Remove nix line-endings
|
||||||
std::transform(line.begin(), line.end(), line.begin(), ::tolower); //Transform to lowercase
|
std::transform(line.begin(), line.end(), line.begin(), ::tolower); //Transform to lowercase
|
||||||
m_Words.push_back(CalculateHash(line));
|
m_Words.push_back(CalculateHash(line));
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
while (std::getline(sMessage, segment, ' ')) {
|
while (std::getline(sMessage, segment, ' ')) {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user