X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=0faf769356a01e9fd8e7a957d2e40e67770edc8a;hb=d017fec4290f7585427f78371e7851487b9dc2eb;hp=3eb31e441cfe0c1c5b3d4fc60233f3b288b40c57;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index 3eb31e44..0faf7693 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -428,6 +428,18 @@ bool Core::sslSupported() } +bool Core::reloadCerts() +{ +#ifdef HAVE_SSL + SslServer *sslServer = qobject_cast(&instance()->_server); + return sslServer->reloadCerts(); +#else + // SSL not supported, don't mark configuration reload as failed + return true; +#endif +} + + bool Core::startListening() { // in mono mode we only start a local port if a port is specified in the cli call