core: In CoreNetwork, check Network::useSasl()
authorShane Synan <digitalcircuit36939@gmail.com>
Sun, 8 Nov 2020 03:11:39 +0000 (22:11 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 28 Nov 2020 12:42:31 +0000 (13:42 +0100)
commit64323f7d66dd9a631b86ff07732c3702933d3846
treea98200fed40c988090273b7a6e2b1db2320c9e98
parent33a1a6f1bf47db069acae3eaa88a1aa156342002
core: In CoreNetwork, check Network::useSasl()

In CoreNetwork, directly check the Network::useSasl() function instead
of reaching into networkInfo().  All the other code within CoreNetwork
checks the properties on Network, and useSasl() is already updated
within Network::setNetworkInfo().  This provides consistency with
atomic network information updates.
src/core/corenetwork.cpp