Get username from env
This commit is contained in:
parent
9c0f715238
commit
94fde9eada
2
main.go
2
main.go
@ -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
|
||||||
|
Reference in New Issue
Block a user