X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fpeer.h;h=6f17ed665ebdc67f24331b894de90477e5e494d1;hb=30fa961d1aca319b52071ad9d6e4527ea2638fb7;hp=64a333ce671852d9e6d91c7b2c3c713da0096e94;hpb=71d3d0d705a853fa8fea3729e13dbddf52363417;p=quassel.git diff --git a/src/common/peer.h b/src/common/peer.h index 64a333ce..6f17ed66 100644 --- a/src/common/peer.h +++ b/src/common/peer.h @@ -119,7 +119,7 @@ template inline void Peer::handle(const T &protoMessage) { switch(protoMessage.handler()) { - case Protocol::SignalProxy: + case Protocol::Handler::SignalProxy: if (!signalProxy()) { qWarning() << Q_FUNC_INFO << "Cannot handle message without a SignalProxy!"; return; @@ -127,7 +127,7 @@ void Peer::handle(const T &protoMessage) signalProxy()->handle(this, protoMessage); break; - case Protocol::AuthHandler: + case Protocol::Handler::AuthHandler: if (!authHandler()) { qWarning() << Q_FUNC_INFO << "Cannot handle auth messages without an active AuthHandler!"; return;