Fixed untrimmed spaces in Bash Tag extraction.

This was leading to the Filter tag being unrecognised if it was first in
the list of Tags, and so having missing master error messages being
erroneously generated.
This commit is contained in:
WrinklyNinja
2013-09-21 16:46:12 +01:00
parent 41ddb8ad92
commit 628b295e83
+2
View File
@@ -362,6 +362,8 @@ namespace boss {
boost::split(bashTags, text, boost::is_any_of(","));
for (int i=0,max=bashTags.size(); i<max; ++i) {
boost::trim(bashTags[i]);
BOOST_LOG_TRIVIAL(trace) << "Extracted Bash Tag: " << bashTags[i];
tags.insert(Tag(bashTags[i]));
}
}