if (strcmp(args[0], "LS") == 0) {
if (args[1] && atoi(args[1]) >= 302)
client->caps |= CAP_302;
- copy_strf(&databuf, ":%s CAP * LS :multi-prefix extended-join away-notify invite-notify\r\n", hostname);
+ copy_strf(&databuf, ":%s CAP * LS :cap-notify multi-prefix extended-join away-notify invite-notify extended-monitor chghost setname account-notify\r\n", hostname);
sendbuf(client);
if (!is_registered(client)) {
client->regstate = REG_CAPLS;