git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1651
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2006-05-08 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/m_pong.c (mr_pong): Move cli_lasttime update from here...
+
+ * ircd/s_auth.c (auth_set_pong): ... to here.
+
2006-05-07 Michael Poole <mdpoole@troilus.org>
* include/s_auth.h (auth_ping_timeout): Declare new function.
assert(!IsRegistered(sptr));
ClrFlag(cptr, FLAG_PINGSENT);
- cli_lasttime(cptr) = CurrentTime;
return (parc > 1) ? auth_set_pong(cli_auth(sptr), strtoul(parv[parc - 1], NULL, 10)) : 0;
}
":To connect, type /QUOTE PONG %u", auth->cookie);
return 0;
}
+ cli_lasttime(auth->client) = CurrentTime;
FlagClr(&auth->flags, AR_NEEDS_PONG);
return check_auth_finished(auth);
}