Update main.go
This commit is contained in:
parent
31ea29dbe0
commit
7b555dc998
2
main.go
2
main.go
@ -195,7 +195,7 @@ func handleConn(conn net.Conn) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
fmt.Printf(" %s\n", line)
|
// fmt.Printf(" %s\n", line)
|
||||||
switch strings.ToUpper(msg.Command) {
|
switch strings.ToUpper(msg.Command) {
|
||||||
case "NICK":
|
case "NICK":
|
||||||
if len(msg.Params) > 0 {
|
if len(msg.Params) > 0 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user