mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 01:38:20 +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
|
||||
std::transform(line.begin(), line.end(), line.begin(), ::tolower); //Transform to lowercase
|
||||
m_Words.push_back(CalculateHash(line));
|
||||
}
|
||||
#else
|
||||
while (std::getline(sMessage, segment, ' ')) {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user