浏览代码

Back to past

Denis V. Dedkov 9 年之前
父节点
当前提交
964aa84a15
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      noolite-cli.go

+ 0 - 3
noolite-cli.go

@@ -22,9 +22,6 @@ func sendCommand(command string, channel, value, r, g, b int) error {
 	n, err := noolite.DefaultNooliteAdapter()
 
 	if err != nil {
-		if n != nil {
-			n.Close()
-		}
 		return err
 	}