~ecs/quaternia

601084277ff1e369c0fa5c4deec83c64c41c4e03 — Eyal Sawady 13 days ago 860949b
.w: fix autodetection error
1 files changed, 1 insertions(+), 1 deletions(-)

M wttr.go
M wttr.go => wttr.go +1 -1
@@ 23,7 23,7 @@ func (wttr) Output(args []string, f Flags, c *girc.Client, e girc.Event, ch chan
	}

	loc, err := GetLocation(e.Source.Name)
	if err != nil && len(args) != 2 {
	if err != nil && len(args) == 0 {
		ch <- "could not auto-detect location: " + err.Error()
		return
	}