diff options
Diffstat (limited to 'src/ActivePeerConnectionCommand.cc')
| -rw-r--r-- | src/ActivePeerConnectionCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ActivePeerConnectionCommand.cc b/src/ActivePeerConnectionCommand.cc index 5a92c301..97285a49 100644 --- a/src/ActivePeerConnectionCommand.cc +++ b/src/ActivePeerConnectionCommand.cc @@ -135,7 +135,7 @@ bool ActivePeerConnectionCommand::execute() { void ActivePeerConnectionCommand::connectToPeer(const SharedHandle<Peer>& peer) { - if(peer.isNull()) { + if(!peer) { return; } peer->usedBy(e_->newCUID()); |
