From 90b940048809c11615731934d57831a829151250 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Sat, 6 May 2006 23:59:33 +0000 Subject: [PATCH] Revert last change -- read_packet() makes it fail. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1648 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 5 ----- ircd/m_pong.c | 2 -- 2 files changed, 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index b4919f1..fc55856 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,3 @@ -2006-05-06 Michael Poole - - * ircd/m_pong.c (mr_pong): No need to do any work if the client - PONGs with no pending PING. - 2006-05-06 Michael Poole * ircd/s_auth.c (AuthRequestFlag): Add AR_PASSWORD_CHECKED. diff --git a/ircd/m_pong.c b/ircd/m_pong.c index 60c22fb..2ecb609 100644 --- a/ircd/m_pong.c +++ b/ircd/m_pong.c @@ -162,8 +162,6 @@ int mr_pong(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) assert(cptr == sptr); assert(!IsRegistered(sptr)); - if (!HasFlag(cptr, FLAG_PINGSENT)) - return 0; ClrFlag(cptr, FLAG_PINGSENT); cli_lasttime(cptr) = CurrentTime; return (parc > 1) ? auth_set_pong(cli_auth(sptr), strtoul(parv[parc - 1], NULL, 10)) : 0; -- 2.20.1