auto request for channel mode flags

ver3
acetone 2023-03-05 10:18:38 +03:00
parent 172e086c34
commit e5cee8399e
1 changed files with 2 additions and 1 deletions

View File

@ -1639,6 +1639,8 @@ void Network::processJoin(Parser *parser, bool self_command)
channel_p = new Channel(channel_name, this);
this->channels.append(channel_p);
emit this->Event_SelfJoin(channel_p);
// to get channel mode flags
this->RequestChannelList(channel_name);
}
}
if (!channel_p)
@ -1786,7 +1788,6 @@ void Network::processChannelList(Parser *parser)
static QRegularExpression modePayload("\\].*$");
text.remove('[').remove(modePayload);
channel->SetMode(text);
qWarning() << parser->GetParameters() << text;
}
void Network::processWhoisUser(Parser &parser)