fix all error and bug !!!!!!!!!!!!!

This commit is contained in:
root committed 2018-09-21 01:14:08 +08:00
1 parent 07436cd8df
commit 906b7be381
24 files changed
+133 -109

No files matched your search

+9
View File
@@ -172,6 +172,15 @@ func runQueue() {
func ircHandle(c *irc.Client, m *irc.Message) {
fmt.Println("> ", m.String())
if m.Command == "PING" {
tmp := &irc.Message{
Command: "PONG",
Params: []string{
m.Params[0],
},
}
client.WriteMessage(tmp)
}
}
func indexOf(c []string, data string) int {