We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 601d4ad commit 7f3de4dCopy full SHA for 7f3de4d
irc.go
@@ -21,6 +21,7 @@ func handlePrivmsg(e *irc.Event) {
21
msg := strings.Replace(rawmsg, "^add", "", 1)
22
msg = strings.Replace(msg, "\"", "'", 5000)
23
msg = strings.TrimSpace(msg)
24
+ CConn.SetWriteDeadline(time.Now().Add(1 * time.Second))
25
CConn.Write([]byte("DO ADD^Quotes(" + msg + ")\n"))
26
IRC.Privmsg(e.Source, "Quote added")
27
}
0 commit comments