Changed to a better compare function for protocol

This commit is contained in:
Micke Prag 2011-05-10 09:54:13 +00:00
parent c7d51b249f
commit f5b832c3c6

View file

@ -200,7 +200,7 @@ std::list<std::string> Protocol::decodeData(const std::wstring &protocolName, co
std::list<std::string> retval;
std::string decoded = "";
if( protocolName == L"everflourish" ) {
if( protocolName.compare(L"everflourish") == 0 ) {
decoded = ProtocolEverflourish::decodeData(data);
if (decoded != "") {
retval.push_back(decoded);