]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conn-func.c
Set the "last data" time to "last ping" time when updating the latter
[ngircd-alex.git] / src / ngircd / conn-func.c
index 72d38b8621ff559c9c93903989e7c091b018be79..4a2d32d6a70bcb270981da9b671acc99c6630df3 100644 (file)
@@ -51,7 +51,7 @@ GLOBAL void
 Conn_UpdatePing(CONN_ID Idx)
 {
        assert(Idx > NONE);
-       My_Connections[Idx].lastping = time(NULL);
+       My_Connections[Idx].lastping = My_Connections[Idx].lastdata = time(NULL);
 }
 
 /*