From: Manuel Nickschas Date: Sun, 17 Feb 2008 19:15:48 +0000 (+0000) Subject: Correctly handle the recent NetworkInfo extension. This fixes the problem X-Git-Tag: 0.2.0-alpha1~55 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=1f02b7201ab7b86238e705d2ce5b22f50bf6acfe Correctly handle the recent NetworkInfo extension. This fixes the problem of some options not being saved correctly in the network dialog. --- diff --git a/src/common/network.cpp b/src/common/network.cpp index 05efa9c2..3162bd4c 100644 --- a/src/common/network.cpp +++ b/src/common/network.cpp @@ -117,6 +117,7 @@ NetworkInfo Network::networkInfo() const { info.networkName = networkName(); info.networkId = networkId(); info.identity = identity(); + info.codecForServer = codecForServer(); info.codecForEncoding = codecForEncoding(); info.codecForDecoding = codecForDecoding(); info.serverList = serverList(); @@ -128,6 +129,7 @@ NetworkInfo Network::networkInfo() const { info.useAutoReconnect = useAutoReconnect(); info.autoReconnectInterval = autoReconnectInterval(); info.autoReconnectRetries = autoReconnectRetries(); + info.unlimitedReconnectRetries = unlimitedReconnectRetries(); info.rejoinChannels = rejoinChannels(); return info; }