Skip to content

Commit

Permalink
fix staticcheck stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Nov 4, 2022
1 parent 29a7a92 commit ed0ebab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions lavalink/lavalink.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ func (l *lavalinkImpl) RemoveNode(name string) {
func (l *lavalinkImpl) AddPlugins(plugins ...any) {
l.pluginsMu.Lock()
defer l.pluginsMu.Unlock()
for _, plugin := range plugins {
l.config.Plugins = append(l.config.Plugins, plugin)
}
l.config.Plugins = append(l.config.Plugins, plugins...)
}

func (l *lavalinkImpl) Plugins() []any {
Expand Down
1 change: 0 additions & 1 deletion lavalink/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ type nodeImpl struct {
status NodeStatus
statusMu sync.Mutex
stats *Stats
available bool
restClient RestClient
}

Expand Down

0 comments on commit ed0ebab

Please sign in to comment.