aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irc.c b/src/irc.c
index ad3d214..8536d2c 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -1024,9 +1024,8 @@ static void keystroke(void) {
void irc_loop(void) {
/* this stuff happens on every connect. */
hide_motd = conf->hide_motd;
- minutes = 0;
+ msgbuf[0] = msgbuf_len = regged = irc_away = minutes = 0;
start_minute_timer();
- msgbuf[0] = msgbuf_len = regged = irc_away = 0;
while(1) {
ind_check_timer();