X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.cpp;h=0faf769356a01e9fd8e7a957d2e40e67770edc8a;hb=b53db87e90676f24e454efa57dd2cbea745d53c5;hp=e57a764ba22575093b6371813a587abf2b5bdc20;hpb=1b09aae7fe4eb3b560f87d3b1c1698e6bc91257b;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