common: Don't warn when "closing" InternalPeer
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 27 Sep 2018 22:56:35 +0000 (00:56 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 1 Oct 2018 17:06:49 +0000 (19:06 +0200)
commit17fb652189fe89b446e672505cc8b0138f79e8b8
treef4c2f4a9711ad9b8a67f340823953c37e7bb0f10
parent4e452ee828fdb411e6b1db07c18e02681a30ff27
common: Don't warn when "closing" InternalPeer

InternalPeer may be closed legitimately like any other peer type.
Although for InternalPeer this just sets a flag, it should not
produce a warning claiming that the method is not implemented.

Also actually report the open status for InternalPeer. Ensure that
it is constructed in open state, otherwise a signalproxy cannot
be set.
src/common/internalpeer.cpp
src/common/internalpeer.h