Fix WEBIRC for IRC servers like Ergo
This commit is contained in:
@@ -493,7 +493,7 @@ void IrcClient::send_pass_command(const std::string& password)
|
|||||||
|
|
||||||
void IrcClient::send_webirc_command(const std::string& password, const std::string& user_ip)
|
void IrcClient::send_webirc_command(const std::string& password, const std::string& user_ip)
|
||||||
{
|
{
|
||||||
this->send_message(IrcMessage("WEBIRC", {password, "biboumi", this->user_hostname, user_ip}));
|
this->send_message(IrcMessage("WEBIRC", {password, "biboumi", this->user_hostname, user_ip, "secure"}));
|
||||||
}
|
}
|
||||||
|
|
||||||
void IrcClient::send_kick_command(const std::string& chan_name, const std::string& target, const std::string& reason)
|
void IrcClient::send_kick_command(const std::string& chan_name, const std::string& target, const std::string& reason)
|
||||||
|
|||||||
Reference in New Issue
Block a user