aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc.c b/src/irc.c
index fee6adb..7860ddd 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -153,12 +153,12 @@ static void print_ping_time(char *p) {
}
static void do_server_pong(void) {
+ ping_sent = 0;
if(*msg_text == 'A') return; /* don't print auto-pings */
msg_src = "Server";
// FIXME: what if the server doesn't :-quote the response?
print_ping_time(msg_text);
scr_eol_active();
- ping_sent = 0;
}
/* FIXME: this isn't very fast */