Commit 9915ecdc authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[1914] Use .empty() instead of == ""

As this is the better way reportedly.
parent 410df5ee
......@@ -845,7 +845,7 @@ ModuleCCSession::requestMatch(const AsyncRecvRequest& request,
return (true);
}
if (!request.is_reply &&
(request.recipient == "" ||
(request.recipient.empty() ||
request.recipient == envelope->get("group")->stringValue())) {
// This is the correct command
return (true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment