diff --git a/modules/weather.go b/modules/weather.go index c2e2cd1..219f084 100644 --- a/modules/weather.go +++ b/modules/weather.go @@ -82,7 +82,7 @@ func init() { func weatherConfig() { time.Sleep(5 * time.Second) - owmQueryAPIKey = weatherApiKey + owmQueryAPIKey = *weatherApiKey } func weatherHandleMessage(m *irc.Message) {