fix: UseDefaultHost

This commit is contained in:
Akiba
2022-08-03 22:20:26 +08:00
parent 8bd1296df8
commit da239bef84

View File

@@ -149,7 +149,7 @@ func (c *Client) SetHost(host string) {
// UseDefaultHost 使用默认 host broadcastlv.chat.bilibili.com
func (c *Client) UseDefaultHost() {
c.host = "broadcastlv.chat.bilibili.com"
c.hostList = []string{"broadcastlv.chat.bilibili.com"}
}
func (c *Client) sendEnterPacket() error {