FIRE-3801; Minor addition to it. Reduce chat spam by skipping comment lines.

Nicky 2011-11-03 19:45:29 +01:00
parent ecdd676e72
commit a20daf18c0
1 changed files with 3 additions and 0 deletions

View File

@ -1480,6 +1480,9 @@ void AOEngine::parseNotecard(const char* buffer)
if(index==lines.size()-1)
line=line.substr(0,line.size()-1);
if( line.size() > 0 && line[0] == '#' ) // <ND/> FIRE-3801; skip comments to reduce spam to local chat.
continue;
LLStringUtil::trim(line);
if(line.find("[")!=0)
{