Some test

This commit is contained in:
2016-06-27 22:31:34 +05:00
parent f7a7cdcdd8
commit f92c234f08

View File

@@ -3,6 +3,7 @@ package main
import (
"flag"
"fmt"
"strconv"
"github.com/dedkovd/noolite"
"net/http"
)
@@ -75,7 +76,8 @@ func main() {
if !ok {
fmt.Fprintf(w, "Channel param required\n")
} else {
err := n.Switch(c)
cn, _ := strconv.Atoi(c[0])
err = n.Switch(cn)
}
if err != nil {