mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
Fix a bug in implementation of Panic(), by forwarding spread arguments
This commit is contained in:
parent
3d18e76bc7
commit
87c4fcf5d9
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ func (client *Client) IsVerified() bool {
|
|||
|
||||
// Log a panic and disconnect the client.
|
||||
func (client *Client) Panic(v ...interface{}) {
|
||||
client.Print(v)
|
||||
client.Print(v...)
|
||||
client.Disconnect()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue