1
0
Fork 0
forked from External/grumble

Fix go1.14 build error in Panic function.

This commit is contained in:
Derrick 2020-04-11 12:56:31 -07:00
parent de7209df85
commit 181a4f3219

View file

@ -161,7 +161,7 @@ func (client *Client) IsVerified() bool {
// Log a panic and disconnect the client. // Log a panic and disconnect the client.
func (client *Client) Panic(v ...interface{}) { func (client *Client) Panic(v ...interface{}) {
client.Print(v) client.Print(v...)
client.Disconnect() client.Disconnect()
} }