]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_serv.c
s_stats.c removed, now we use new style of stats handling.
[irc/rqf/shadowircd.git] / src / s_serv.c
index 4570c5c42ee30b66f1d2624d35bb728fd74847bd..a866755100c9004bcef99fec303045ae7bf80bc7 100644 (file)
@@ -1031,7 +1031,7 @@ server_estab(struct Client *client_p)
        {
                if(client_p != serv_list.head->data || serv_list.head->next)
                {
-                       ServerStats->is_ref++;
+                       ServerStats.is_ref++;
                        sendto_one(client_p, "ERROR :I'm a leaf not a hub");
                        return exit_client(client_p, client_p, client_p, "I'm a leaf");
                }