Index: shell/src/MatchesCommand.cpp |
=================================================================== |
--- a/shell/src/MatchesCommand.cpp |
+++ b/shell/src/MatchesCommand.cpp |
@@ -48,19 +48,19 @@ |
ShowUsage(); |
return; |
} |
AdblockPlus::FilterPtr match = filterEngine.Matches(url, contentType, documentUrl); |
if (!match) |
std::cout << "No match" << std::endl; |
else if (match->GetType() == AdblockPlus::Filter::TYPE_EXCEPTION) |
- std::cout << "Whitelisted by " << match->GetProperty("text")->AsString() << std::endl; |
+ std::cout << "Whitelisted by " << match->GetProperty("text").AsString() << std::endl; |
else |
- std::cout << "Blocked by " << match->GetProperty("text")->AsString() << std::endl; |
+ std::cout << "Blocked by " << match->GetProperty("text").AsString() << std::endl; |
} |
std::string MatchesCommand::GetDescription() const |
{ |
return "Returns the first filter that matches the supplied URL"; |
} |
std::string MatchesCommand::GetUsage() const |