CTF2021/irc_bot
Archived
4
0

Don't forget to close database

This commit is contained in:
Denis Zheleztsov 2021-01-27 12:50:34 +03:00
parent 62a12ae97d
commit e8b4a906b0
Signed by: Difrex
GPG Key ID: D423378A747E202E

View File

@ -162,6 +162,10 @@ func main() {
}
s.history = history
if history != nil {
defer history.db.Close()
}
irccon.VerboseCallbackHandler = false
irccon.Debug = false
irccon.UseTLS = false