mirror of https://notabug.org/acetone/ircabot.git
auto request for channel mode flags
parent
172e086c34
commit
e5cee8399e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue