Use LIST * instead of just LIST, because some servers don’t accept it

Also add a e2e test for the list query
This commit is contained in:
louiz’
2016-10-02 12:57:04 +02:00
parent 265b5df61b
commit ffad4306b9
2 changed files with 34 additions and 2 deletions
+1 -1
View File
@@ -428,7 +428,7 @@ void IrcClient::send_kick_command(const std::string& chan_name, const std::strin
void IrcClient::send_list_command()
{
this->send_message(IrcMessage("LIST", {}));
this->send_message(IrcMessage("LIST", {"*"}));
}
void IrcClient::send_invitation(const std::string& chan_name, const std::string& nick)