]> jfr.im git - irc/gunnarbeutner/shroudbnc.git/commitdiff
Fix: also use AF_UNSPEC there.
authorGunnar Beutner <redacted>
Mon, 31 Jan 2011 21:45:49 +0000 (22:45 +0100)
committerGunnar Beutner <redacted>
Mon, 31 Jan 2011 21:45:49 +0000 (22:45 +0100)
src/User.cpp

index 8d25c6e03154d2650c73cb2d1274ce66242dff19..2951ec78fa4632b8a49cf09bc8cf52208d94c21a 100644 (file)
@@ -818,7 +818,7 @@ void CUser::SetIRCConnection(CIRCConnection *IRC) {
 
                if (m_IRC->GetState() == State_Connecting) {
                        if (m_NextProtocolFamily == AF_INET) {
-                               m_NextProtocolFamily = AF_INET6;
+                               m_NextProtocolFamily = AF_UNSPEC;
                        } else {
                                m_NextProtocolFamily = AF_INET;
                        }