X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=0faf769356a01e9fd8e7a957d2e40e67770edc8a;hb=a113f73e5f8ce89c3df5c42d55528404fc7a2294;hp=e57a764ba22575093b6371813a587abf2b5bdc20;hpb=8cece06596c290d69c1f32b7221c796437f5fabb;p=quassel.git diff --git a/src/core/core.cpp b/src/core/core.cpp index e57a764b..0faf7693 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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