X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=d36cabd2754189550bcbb1045eacdc8fc8b43122;hb=f8ebd4fd9a59bcb34a6ce45ce1f0b4a22beae884;hp=e57a764ba22575093b6371813a587abf2b5bdc20;hpb=79d10f90b17200eac2a977cc6ca5f70fed9da739;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index e57a764b..d36cabd2 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