summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--blabouncer.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/TODO b/TODO
index cf8c02d..04e385d 100644
--- a/TODO
+++ b/TODO
@@ -27,3 +27,5 @@ Support autojoining passworded channels.
Test CTCP.
Reconnect server if we get disconnected for some reason.
+
+Do we need to ACK end of CAP requests for CAP multi-prefix?
diff --git a/blabouncer.c b/blabouncer.c
index eaa39c6..e839477 100644
--- a/blabouncer.c
+++ b/blabouncer.c
@@ -1055,7 +1055,7 @@ int processircmessage(SSL *server_ssl, char *str, int source, struct client *cli
if (clients[i].pendingwho == 1 && clients[i].fd) {
sendtoclient(clients[i].fd, str, clients, settings);
// And clear the pending flag if it's 315 (RPL_ENDOFWHO)
- if (strncmp(tokens[1], "329", strlen(tokens[1])) == 0) {
+ if (strncmp(tokens[1], "315", strlen(tokens[1])) == 0) {
clients[i].pendingwho = 0;
}
}