summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-10-02 12:56:04 +0200
committerlouiz’ <louiz@louiz.org>2016-10-02 12:57:04 +0200
commitffad4306b9e9c6065a01a5fcaca668d70af0db8a (patch)
treec17aae7fd109c91785829224ef7a32c12ff923cc /src
parent265b5df61b5f3d4b5f30bbc6518f833f73bda1ff (diff)
downloadbiboumi-ffad4306b9e9c6065a01a5fcaca668d70af0db8a.tar.gz
biboumi-ffad4306b9e9c6065a01a5fcaca668d70af0db8a.tar.bz2
biboumi-ffad4306b9e9c6065a01a5fcaca668d70af0db8a.tar.xz
biboumi-ffad4306b9e9c6065a01a5fcaca668d70af0db8a.zip
Use LIST * instead of just LIST, because some servers don’t accept it
Also add a e2e test for the list query
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp
index 59da97e..85fdec5 100644
--- a/src/irc/irc_client.cpp
+++ b/src/irc/irc_client.cpp
@@ -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)