aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--src/irc.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/TODO b/TODO
index 1d08233..437b289 100644
--- a/TODO
+++ b/TODO
@@ -14,8 +14,6 @@ FujiChat features, we're almost at parity!
Other stuff:
-- Clear out msg_buf on disconnect! Leftover partial messages cause
- problems on reconnect, including "USER: Not enough parameters". Ouch.
- Load/save config files to N:SD//.FujiNetChat or such. Since we *have*
to have a FujiNet anyway, might as well make better use of it.
- Rewrite the incoming message parser! It needs to work more like
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();