]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treesocket.h
Allow multiple autoconnects in a single <autoconnect> tag, fix infinite failover
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treesocket.h
index 3c94849818f1f177327e7b08b8de3b362d0acc8a..520026a99db9d264ea8504c7770a217da5d696f6 100644 (file)
@@ -92,7 +92,7 @@ class TreeSocket : public BufferedSocket
        int proto_version;                      /* Remote protocol version */
  public:
        HandshakeTimer* hstimer;                /* Handshake timer, needed to work around I/O hook buffering */
-       Autoconnect* myautoconnect;             /* Autoconnect used to cause this connection, if any */
+       reference<Autoconnect> myautoconnect;           /* Autoconnect used to cause this connection, if any */
        time_t age;
 
        /** Because most of the I/O gubbins are encapsulated within