Browse Source

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

As this is the better way reportedly.
Michal 'vorner' Vaner 13 years ago
parent
commit
9915ecdc18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/config/ccsession.cc

+ 1 - 1
src/lib/config/ccsession.cc

@@ -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);