diff --git a/spectrum/src/frontends/xmpp/XMPPFrontend.cpp b/spectrum/src/frontends/xmpp/XMPPFrontend.cpp index 2840fca686fe05fbfc6426af14eb7396da6e95f5..0ee8faf71a99984f80d9a186795960ff5443d819 100644 --- a/spectrum/src/frontends/xmpp/XMPPFrontend.cpp +++ b/spectrum/src/frontends/xmpp/XMPPFrontend.cpp @@ -347,7 +347,7 @@ void XMPPFrontend::handleConnected() { } void XMPPFrontend::handleServerStopped(boost::optional e) { - if(e != NULL ) { + if(e) { if(*e == Swift::BoostConnectionServer::Conflict) { LOG4CXX_INFO(logger, "Port "<< CONFIG_INT(m_config, "service.port") << " already in use! Stopping server.."); if (CONFIG_INT(m_config, "service.port") == 5347) {