diff options
| -rw-r--r-- | TODO | 2 | ||||
| -rw-r--r-- | src/irc.c | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -17,6 +17,8 @@ X Configurable ctcp version response. Not going to do for now. Having Other stuff: +- [*] BUG: *Something* is making screen 1 go SCR_OTHER in the status bar, + without writing to it. It's not PING/PONG either. - [*] Auto-pinging the server seems to work, but needs more testing. - [*] Write a cgetc() replacement that doesn't call the OS K: "get one byte" routine. I was avoiding it because it will need a 192-byte table @@ -570,7 +570,11 @@ static void dispatch_msg(void) { } else if(streq_i(msg_cmd, "MODE")) { do_mode(); } else if(streq_i(msg_cmd, "PONG")) { - if(*msg_text != 'A') do_server_pong(); + if(*msg_text == 'A') { + return; /* do not set screen status */ + } else { + do_server_pong(); + } } else if(isdigit(msg_cmd[0])) { do_numeric(); } else { |
