CTF2021/irc_bot
Archived
4
0

Get username from env

This commit is contained in:
Denis Zheleztsov 2021-01-16 10:49:40 +03:00
parent 9c0f715238
commit 94fde9eada
Signed by: Difrex
GPG Key ID: D423378A747E202E

View File

@ -29,7 +29,7 @@ var (
func main() { func main() {
nick := os.Getenv("CTF2021NICK") nick := os.Getenv("CTF2021NICK")
irccon := irc.IRC(nick, nick) irccon := irc.IRC(nick, os.Getenv("CTF2021USER"))
irccon.VerboseCallbackHandler = false irccon.VerboseCallbackHandler = false
irccon.Debug = false irccon.Debug = false